diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2009-05-14 17:57:31 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-05-14 18:06:49 -0500 |
commit | f7897430950ee94fb2dc4d6a5ca658d4909d9d85 (patch) | |
tree | 9d94be3c723a473f529074becb19cad654664ca7 /hw/omap_mmc.c | |
parent | 4af396115a1722dfaf8f7d4ecee59202dd7d5ea8 (diff) | |
download | qemu-f7897430950ee94fb2dc4d6a5ca658d4909d9d85.tar.gz qemu-f7897430950ee94fb2dc4d6a5ca658d4909d9d85.tar.bz2 qemu-f7897430950ee94fb2dc4d6a5ca658d4909d9d85.zip |
Fix module initialization when more than 1 class is in use
Now that we're using enums for module types, it makes no sense to bother keeping
a list of module types when we know exactly how many they are.
Switching to an array simplifies the code and eliminates the aforementioned bug.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/omap_mmc.c')
0 files changed, 0 insertions, 0 deletions