]> Git Repo - qemu.git/blobdiff - hw/bitbang_i2c.c
use an uint64_t for the max_sz parameter in load_image_targphys
[qemu.git] / hw / bitbang_i2c.c
index c9c11823af553625422022bd5bc54ae713b30412..44ed7f4d6182c0fd8cc77c67ec01f3f90eecf624 100644 (file)
@@ -237,9 +237,9 @@ static TypeInfo gpio_i2c_info = {
     .class_init    = gpio_i2c_class_init,
 };
 
-static void bitbang_i2c_register(void)
+static void bitbang_i2c_register_types(void)
 {
     type_register_static(&gpio_i2c_info);
 }
 
-device_init(bitbang_i2c_register)
+type_init(bitbang_i2c_register_types)
This page took 0.025725 seconds and 4 git commands to generate.