aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-05-24 04:22:21 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-05-24 04:22:21 -0400
commit66643de455c27973ac31ad6de9f859d399916842 (patch)
tree7ebed7f051879007d4b11d6aaa9e65a1bcb0b08f /include/linux/device.h
parent2c23d62abb820e19c54012520f08a198c2233a85 (diff)
parent387e2b0439026aa738a9edca15a57e5c0bcb4dfc (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts: include/asm-powerpc/unistd.h include/asm-sparc/unistd.h include/asm-sparc64/unistd.h Signed-off-by: David Woodhouse <dwmw2@infradead.org>
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 9943f51cd809..b2e5da2b637b 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -199,6 +199,7 @@ extern int class_device_create_file(struct class_device *,
199 * @node: for internal use by the driver core only. 199 * @node: for internal use by the driver core only.
200 * @kobj: for internal use by the driver core only. 200 * @kobj: for internal use by the driver core only.
201 * @devt_attr: for internal use by the driver core only. 201 * @devt_attr: for internal use by the driver core only.
202 * @groups: optional additional groups to be created
202 * @dev: if set, a symlink to the struct device is created in the sysfs 203 * @dev: if set, a symlink to the struct device is created in the sysfs
203 * directory for this struct class device. 204 * directory for this struct class device.
204 * @class_data: pointer to whatever you want to store here for this struct 205 * @class_data: pointer to whatever you want to store here for this struct
@@ -227,6 +228,7 @@ struct class_device {
227 struct device * dev; /* not necessary, but nice to have */ 228 struct device * dev; /* not necessary, but nice to have */
228 void * class_data; /* class-specific data */ 229 void * class_data; /* class-specific data */
229 struct class_device *parent; /* parent of this child device, if there is one */ 230 struct class_device *parent; /* parent of this child device, if there is one */
231 struct attribute_group ** groups; /* optional groups */
230 232
231 void (*release)(struct class_device *dev); 233 void (*release)(struct class_device *dev);
232 int (*uevent)(struct class_device *dev, char **envp, 234 int (*uevent)(struct class_device *dev, char **envp,