mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
watchdog: pcwd_usb: remove unneeded DRIVER_LICENSE #define
There is no need to #define the license of the driver, just put it in the MODULE_LICENSE() line directly as a text string. This allows tools that check that the module license matches the source code license to work properly, as there is no need to unwind the unneeded dereference, especially when it is defined just a few lines above from where it is used. Cc: Wim Van Sebroeck <[email protected]> Cc: Guenter Roeck <[email protected]> Reported-by: Philippe Ombredanne <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
This commit is contained in:
parent
c41fe7cdbd
commit
bf0209747e
1 changed files with 1 additions and 2 deletions
|
|
@ -49,12 +49,11 @@
|
|||
#define DRIVER_VERSION "1.02"
|
||||
#define DRIVER_AUTHOR "Wim Van Sebroeck <[email protected]>"
|
||||
#define DRIVER_DESC "Berkshire USB-PC Watchdog driver"
|
||||
#define DRIVER_LICENSE "GPL"
|
||||
#define DRIVER_NAME "pcwd_usb"
|
||||
|
||||
MODULE_AUTHOR(DRIVER_AUTHOR);
|
||||
MODULE_DESCRIPTION(DRIVER_DESC);
|
||||
MODULE_LICENSE(DRIVER_LICENSE);
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
#define WATCHDOG_HEARTBEAT 0 /* default heartbeat =
|
||||
delay-time from dip-switches */
|
||||
|
|
|
|||
Loading…
Reference in a new issue