include: replace linux/module.h with "struct module" wherever possible
[linux-2.6/next.git] / drivers / staging / line6 / config.h
blobf8a5149e3dadabc28d480d61709ce83f72701192
1 /*
2 * Line6 Linux USB driver - 0.8.0
4 * Copyright (C) 2004-2009 Markus Grabner (grabner@icg.tugraz.at)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation, version 2.
12 #ifndef CONFIG_H
13 #define CONFIG_H
16 #ifdef CONFIG_USB_DEBUG
17 #define DEBUG 1
18 #endif
22 * Development tools.
24 #define DO_DEBUG_MESSAGES 0
25 #define DO_DUMP_URB_SEND DO_DEBUG_MESSAGES
26 #define DO_DUMP_URB_RECEIVE DO_DEBUG_MESSAGES
27 #define DO_DUMP_PCM_SEND 0
28 #define DO_DUMP_PCM_RECEIVE 0
29 #define DO_DUMP_MIDI_SEND DO_DEBUG_MESSAGES
30 #define DO_DUMP_MIDI_RECEIVE DO_DEBUG_MESSAGES
31 #define DO_DUMP_ANY (DO_DUMP_URB_SEND || DO_DUMP_URB_RECEIVE || \
32 DO_DUMP_PCM_SEND || DO_DUMP_PCM_RECEIVE || \
33 DO_DUMP_MIDI_SEND || DO_DUMP_MIDI_RECEIVE)
34 #define CREATE_RAW_FILE 0
36 #if DO_DEBUG_MESSAGES
37 #define CHECKPOINT printk(KERN_INFO "line6usb: %s (%s:%d)\n", \
38 __func__, __FILE__, __LINE__)
39 #endif
41 #if DO_DEBUG_MESSAGES
42 #define DEBUG_MESSAGES(x) (x)
43 #else
44 #define DEBUG_MESSAGES(x)
45 #endif
48 #endif