Commit b9aaf7f8596df4c286498714e492b2e73fd07b9c
1 parent
cec9fac1
Fix Sparse warning
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
hw/qdev.c
| @@ -49,7 +49,7 @@ struct DeviceType { | @@ -49,7 +49,7 @@ struct DeviceType { | ||
| 49 | }; | 49 | }; |
| 50 | 50 | ||
| 51 | /* This is a nasty hack to allow passing a NULL bus to qdev_create. */ | 51 | /* This is a nasty hack to allow passing a NULL bus to qdev_create. */ |
| 52 | -BusState *main_system_bus; | 52 | +static BusState *main_system_bus; |
| 53 | 53 | ||
| 54 | static DeviceType *device_type_list; | 54 | static DeviceType *device_type_list; |
| 55 | 55 |