summaryrefslogtreecommitdiff
path: root/include/linux/ipaq-sleeve.h
diff options
context:
space:
mode:
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)