Commit cfdcdb64 authored by Patrick Mochel's avatar Patrick Mochel

make sure DEBUG is #undef'd so it's really turned off

...since macro using it was changed from #if to #ifdef..
parent 175ceea9
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
*/ */
#define DEBUG 0 #undef DEBUG
#include <linux/device.h> #include <linux/device.h>
#include <linux/module.h> #include <linux/module.h>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* 2002 Open Source Development Lab * 2002 Open Source Development Lab
*/ */
#define DEBUG 0 #undef DEBUG
#include <linux/device.h> #include <linux/device.h>
#include <linux/err.h> #include <linux/err.h>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* *
*/ */
#define DEBUG 0 #undef DEBUG
#include <linux/device.h> #include <linux/device.h>
#include <linux/module.h> #include <linux/module.h>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
*/ */
#define DEBUG 0 #undef DEBUG
#include <linux/device.h> #include <linux/device.h>
#include <linux/slab.h> #include <linux/slab.h>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* intf.c - class-specific interface management * intf.c - class-specific interface management
*/ */
#define DEBUG 1 #undef DEBUG
#include <linux/device.h> #include <linux/device.h>
#include <linux/module.h> #include <linux/module.h>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
#define DEBUG 0 #undef DEBUG
#include <linux/device.h> #include <linux/device.h>
#include <linux/module.h> #include <linux/module.h>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* add themselves as children of the system bus. * add themselves as children of the system bus.
*/ */
#define DEBUG 1 #undef DEBUG
#include <linux/device.h> #include <linux/device.h>
#include <linux/err.h> #include <linux/err.h>
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
* Please see Documentation/filesystems/sysfs.txt for more information. * Please see Documentation/filesystems/sysfs.txt for more information.
*/ */
#undef DEBUG
#include <linux/list.h> #include <linux/list.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/pagemap.h> #include <linux/pagemap.h>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* kobject.c - library routines for handling generic kernel objects * kobject.c - library routines for handling generic kernel objects
*/ */
#define DEBUG 0 #undef DEBUG
#include <linux/kobject.h> #include <linux/kobject.h>
#include <linux/string.h> #include <linux/string.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment