diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-02-27 20:25:43 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:54:25 -0700 |
commit | 77491e524ccb78adfad9cdc1b0b175c4e9fd0368 (patch) | |
tree | 476119fd653107d78f2c5a546529aa3093b902fe /drivers/staging/line6/config.h | |
parent | 7e60fcb54f32e30f065a77b30f03370a287fda99 (diff) | |
download | op-kernel-dev-77491e524ccb78adfad9cdc1b0b175c4e9fd0368.zip op-kernel-dev-77491e524ccb78adfad9cdc1b0b175c4e9fd0368.tar.gz |
Staging: line6: remove DEVICE_ATTRIBUTE
As the code is in the kernel tree, it's no longer needed.
Cc: Markus Grabner <grabner@icg.tugraz.at>
Cc: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/line6/config.h')
-rw-r--r-- | drivers/staging/line6/config.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/line6/config.h b/drivers/staging/line6/config.h index d5ed1a7..a687dc9 100644 --- a/drivers/staging/line6/config.h +++ b/drivers/staging/line6/config.h @@ -44,16 +44,6 @@ #endif /** - In Linux 2.6.13 and later, the device_attribute is passed to the sysfs - get/set functions (see /usr/src/linux/include/linux/device.h). -*/ -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13) -#define DEVICE_ATTRIBUTE struct device_attribute *attr, -#else -#define DEVICE_ATTRIBUTE -#endif - -/** In Linux 2.6.20 and later, the pt_regs is no longer passed to USB callback functions. */ |