[PATCH 17/19] driver: make driver.h header self-contained

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The header defines driver registration macros that expand to initcalls,
but doesn't include the definitions for the different initcall leavels.

Fix this to make the header self contained.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 include/driver.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/driver.h b/include/driver.h
index 7dfa565b8960..638426b9606a 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -11,6 +11,7 @@
 #include <linux/uuid.h>
 #include <linux/printk.h>
 #include <of.h>
+#include <init.h>
 #include <filetype.h>
 
 #define FORMAT_DRIVER_NAME_ID	"%s%d"
-- 
2.39.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux