samples: mark {static|__init|__exit} for {init|exit} functions
[linux-2.6.git] / samples / firmware_class / firmware_sample_driver.c
index 11114f3..219a298 100644 (file)
@@ -100,7 +100,7 @@ static void sample_probe_async(void)
                       " request_firmware_nowait failed\n");
 }
 
-static int sample_init(void)
+static int __init sample_init(void)
 {
        device_initialize(&ghost_device);
        /* since there is no real hardware insertion I just call the