aboutsummaryrefslogtreecommitdiffstats
path: root/samples/firmware_class
diff options
context:
space:
mode:
Diffstat (limited to 'samples/firmware_class')
-rw-r--r--samples/firmware_class/firmware_sample_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/firmware_class/firmware_sample_driver.c b/samples/firmware_class/firmware_sample_driver.c
index 11114f389c4..219a2989660 100644
--- a/samples/firmware_class/firmware_sample_driver.c
+++ b/samples/firmware_class/firmware_sample_driver.c
@@ -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