diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-31 15:51:29 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-31 15:51:29 -0400 |
commit | d919fd433b5823d1cf9d0688eb2eec183de9b74c (patch) | |
tree | 037cac29c344e0a2009a241d2168825f399b600a /include/linux/device.h | |
parent | 5307cc1aa53850f017c8053db034cf950b670ac9 (diff) |
Revert "Driver core: remove class_device_*_bin_file"
This reverts commit fcd239d3d5575e5cc63aab5c33cf6dc66904f6d6.
I messed up, ia64 still uses these files in the current tree, and now
can not build the pci code, which all ia64 boxes seem to require :)
This fixes that mistake.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 2c5e49d446b8..2e15822fe409 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -291,6 +291,10 @@ extern void class_device_put(struct class_device *); | |||
291 | 291 | ||
292 | extern void class_device_remove_file(struct class_device *, | 292 | extern void class_device_remove_file(struct class_device *, |
293 | const struct class_device_attribute *); | 293 | const struct class_device_attribute *); |
294 | extern int __must_check class_device_create_bin_file(struct class_device *, | ||
295 | struct bin_attribute *); | ||
296 | extern void class_device_remove_bin_file(struct class_device *, | ||
297 | struct bin_attribute *); | ||
294 | 298 | ||
295 | struct class_interface { | 299 | struct class_interface { |
296 | struct list_head node; | 300 | struct list_head node; |