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 (Oracle) <rmk+kernel@armlinux.org.uk>2022-05-23 16:02:39 +0100
commit84a43257f88e48b2a64c10e09d131ef1d3a74df0 (patch)
tree112acbf452f4324dcea67d86d9f3c0923b28f666 /include/linux/ipaq-sleeve.h
parent148aac08365c4dfa8156fe8cd5336e64bdeb31a0 (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)