Merge branch 'topic/memdup_user' into for-linus
[linux-2.6.git] / samples / firmware_class / firmware_sample_driver.c
index 165cff98032e70810ff866afcd51f324cda1efa9..219a298966034b2a02236ee305e29dcdcf910d72 100644 (file)
@@ -73,6 +73,7 @@ static void sample_probe_specific(void)
 
        /* finish setting up the device */
 }
+
 static void sample_probe_async_cont(const struct firmware *fw, void *context)
 {
        if (!fw) {
@@ -99,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