summaryrefslogtreecommitdiffstats
path: root/include/driver.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-06-11 11:33:34 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-06-11 11:33:34 +0200
commitad06295b2983cc46cb6c4dcf2b482f37731f7a3e (patch)
tree7c8aec2fb29c565dadcc40ef5b6b9dfc2d922fc9 /include/driver.h
parent06b8bc4d708b8ff4eba1dd9b48ec110a8019d2c8 (diff)
parent25d6c568a867821e419e4a6b5cdb41a0c98b3ad8 (diff)
downloadbarebox-ad06295b2983cc46cb6c4dcf2b482f37731f7a3e.tar.gz
barebox-ad06295b2983cc46cb6c4dcf2b482f37731f7a3e.tar.xz
Merge branch 'for-next/ubootenv'
Diffstat (limited to 'include/driver.h')
-rw-r--r--include/driver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/driver.h b/include/driver.h
index 26ec413bd6..300603fa32 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -22,6 +22,7 @@
#include <linux/list.h>
#include <linux/ioport.h>
#include <of.h>
+#include <filetype.h>
#define FORMAT_DRIVER_NAME_ID "%s%d"
@@ -419,6 +420,8 @@ int platform_driver_register(struct driver_d *drv);
register_driver_macro(device,platform,drv)
#define console_platform_driver(drv) \
register_driver_macro(console,platform,drv)
+#define late_platform_driver(drv) \
+ register_driver_macro(late,platform,drv)
int platform_device_register(struct device_d *new_device);
@@ -464,6 +467,7 @@ struct cdev {
struct list_head link_entry, links;
struct list_head partition_entry, partitions;
struct cdev *master;
+ enum filetype filetype;
};
int devfs_create(struct cdev *);