summaryrefslogtreecommitdiffstats
path: root/samples/firmware_class/firmware_sample_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/firmware_class/firmware_sample_driver.c')
-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 11114f389c49..219a29896603 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