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/driver.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/driver.h')
-rw-r--r-- | drivers/staging/line6/driver.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/line6/driver.h b/drivers/staging/line6/driver.h index e5179d9..dc081b6 100644 --- a/drivers/staging/line6/driver.h +++ b/drivers/staging/line6/driver.h @@ -173,15 +173,15 @@ struct usb_line6 { extern char *line6_alloc_sysex_buffer(struct usb_line6 *line6, int code1, int code2, int size); -extern ssize_t line6_nop_read(struct device *dev, DEVICE_ATTRIBUTE char *buf); -extern ssize_t line6_nop_write(struct device *dev, DEVICE_ATTRIBUTE const char *buf, size_t count); +extern ssize_t line6_nop_read(struct device *dev, struct device_attribute *attr, char *buf); +extern ssize_t line6_nop_write(struct device *dev, struct device_attribute *attr, const char *buf, size_t count); extern int line6_read_data(struct usb_line6 *line6, int address, void *data, size_t datalen); extern int line6_read_serial_number(struct usb_line6 *line6, int *serial_number); extern int line6_send_program(struct usb_line6 *line6, int value); extern int line6_send_raw_message(struct usb_line6 *line6, const char *buffer, int size); extern int line6_send_raw_message_async(struct usb_line6 *line6, const char *buffer, int size); extern int line6_send_sysex_message(struct usb_line6 *line6, const char *buffer, int size); -extern ssize_t line6_set_raw(struct device *dev, DEVICE_ATTRIBUTE const char *buf, size_t count); +extern ssize_t line6_set_raw(struct device *dev, struct device_attribute *attr, const char *buf, size_t count); extern int line6_transmit_parameter(struct usb_line6 *line6, int param, int value); extern int line6_write_data(struct usb_line6 *line6, int address, void *data, size_t datalen); extern void line6_write_hexdump(struct usb_line6 *line6, char dir, const unsigned char *buffer, int size); |