aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-09-13 09:34:05 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-09-26 00:08:38 -0400
commitc47ed219ba81632595e9f02e27318151fec16c9e (patch)
tree7c6d6c07122c26c12719c676b6a81f731122347d /include/linux/device.h
parentc205ef4880273d2de4ee5388d4e52227ff688cc4 (diff)
Class: add support for class interfaces for devices
When moving class_device usage over to device, we need to handle class_interfaces properly with devices. This patch adds that support. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index bbb0d6b5d232..e0fae0e76fa9 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -278,6 +278,8 @@ struct class_interface {
278 278
279 int (*add) (struct class_device *, struct class_interface *); 279 int (*add) (struct class_device *, struct class_interface *);
280 void (*remove) (struct class_device *, struct class_interface *); 280 void (*remove) (struct class_device *, struct class_interface *);
281 int (*add_dev) (struct device *, struct class_interface *);
282 void (*remove_dev) (struct device *, struct class_interface *);
281}; 283};
282 284
283extern int class_interface_register(struct class_interface *); 285extern int class_interface_register(struct class_interface *);