]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/line6/driver.h
Merge tag 'metag-fixes-for-v3.11-1' of git://git.kernel.org/pub/scm/linux/kernel...
[~andy/linux] / drivers / staging / line6 / driver.h
index f0be5a2adaba1d4ae383e9fd0f50ba84b9953360..a8341f9fdb981926d7c6132e2ebf11c2a9a552c2 100644 (file)
 
 #define DRIVER_NAME "line6usb"
 
-#if defined(CONFIG_LINE6_USB_DUMP_PCM)
-#define CONFIG_LINE6_USB_DUMP_ANY
-#endif
-
 #define LINE6_TIMEOUT 1
 #define LINE6_BUFSIZE_LISTEN 32
 #define LINE6_MESSAGE_MAXLEN 256
@@ -53,7 +49,7 @@
 #define LINE6_CHANNEL_MASK 0x0f
 
 #define MISSING_CASE   \
-       printk(KERN_ERR "line6usb driver bug: missing case in %s:%d\n", \
+       pr_err("line6usb driver bug: missing case in %s:%d\n", \
                __FILE__, __LINE__)
 
 #define CHECK_RETURN(x)                \
@@ -208,8 +204,6 @@ 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 int line6_send_sysex_message_async(struct usb_line6 *line6,
-                                         const char *buffer, int size);
 extern ssize_t line6_set_raw(struct device *dev, struct device_attribute *attr,
                             const char *buf, size_t count);
 extern void line6_start_timer(struct timer_list *timer, unsigned int msecs,
@@ -221,9 +215,4 @@ extern int line6_version_request_async(struct usb_line6 *line6);
 extern int line6_write_data(struct usb_line6 *line6, int address, void *data,
                            size_t datalen);
 
-#ifdef CONFIG_LINE6_USB_DUMP_ANY
-extern void line6_write_hexdump(struct usb_line6 *line6, char dir,
-                               const unsigned char *buffer, int size);
-#endif
-
 #endif