summaryrefslogtreecommitdiff
path: root/include/linux/ipaq-sleeve.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2016-09-28 09:55:58 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2020-10-12 21:56:27 +0100
commit1f8db1c798717a711cdf8fc6b223b41e86ca5fcf (patch)
tree5bd2f8caa5bb59ab3b9f4dcffaf4a240946234e5 /include/linux/ipaq-sleeve.h
parent8f99b0ccbb8a32545d3072021561c845ba17acc3 (diff)
ipaq sleeve updates
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'include/linux/ipaq-sleeve.h')
-rw-r--r--include/linux/ipaq-sleeve.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/ipaq-sleeve.h b/include/linux/ipaq-sleeve.h
index fb669fad0c4e..42352e942c3c 100644
--- a/include/linux/ipaq-sleeve.h
+++ b/include/linux/ipaq-sleeve.h
@@ -6,6 +6,7 @@
struct ipaq_option_device {
struct ipaq_option_id id;
+ const char *description;
struct device dev;
};
#define to_ipaq_option_device(x) container_of(x, struct ipaq_option_device, dev)
@@ -17,7 +18,8 @@ struct ipaq_option_driver {
extern struct bus_type ipaq_option_sleeve_bus;
-int ipaq_option_device_add(struct device *parent, struct ipaq_option_id id);
+int ipaq_option_device_add(struct device *parent, struct ipaq_option_id id,
+ const char *description);
void ipaq_option_device_del(void);
static inline int ipaq_option_driver_register(struct ipaq_option_driver *drv)