Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
d5def5f7
Commit
d5def5f7
authored
Mar 08, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Driver core: make CONFIG_DEBUG_DRIVER implementation a whole lot cleaner
parent
e88141bd
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
9 additions
and
32 deletions
+9
-32
drivers/base/Makefile
drivers/base/Makefile
+5
-0
drivers/base/bus.c
drivers/base/bus.c
+0
-4
drivers/base/class.c
drivers/base/class.c
+0
-4
drivers/base/class_simple.c
drivers/base/class_simple.c
+0
-4
drivers/base/core.c
drivers/base/core.c
+0
-4
drivers/base/driver.c
drivers/base/driver.c
+0
-4
drivers/base/power/Makefile
drivers/base/power/Makefile
+4
-0
drivers/base/power/main.c
drivers/base/power/main.c
+0
-4
drivers/base/power/shutdown.c
drivers/base/power/shutdown.c
+0
-4
drivers/base/sys.c
drivers/base/sys.c
+0
-4
No files found.
drivers/base/Makefile
View file @
d5def5f7
...
@@ -6,3 +6,8 @@ obj-y := core.o sys.o interface.o bus.o \
...
@@ -6,3 +6,8 @@ obj-y := core.o sys.o interface.o bus.o \
obj-y
+=
power/
obj-y
+=
power/
obj-$(CONFIG_FW_LOADER)
+=
firmware_class.o
obj-$(CONFIG_FW_LOADER)
+=
firmware_class.o
obj-$(CONFIG_NUMA)
+=
node.o
obj-$(CONFIG_NUMA)
+=
node.o
ifeq
($(CONFIG_DEBUG_DRIVER),y)
EXTRA_CFLAGS
+=
-DDEBUG
endif
drivers/base/bus.c
View file @
d5def5f7
...
@@ -9,10 +9,6 @@
...
@@ -9,10 +9,6 @@
*/
*/
#include <linux/config.h>
#include <linux/config.h>
#ifdef CONFIG_DEBUG_DRIVER
#define DEBUG 1
#endif
#include <linux/device.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/errno.h>
...
...
drivers/base/class.c
View file @
d5def5f7
...
@@ -11,10 +11,6 @@
...
@@ -11,10 +11,6 @@
*/
*/
#include <linux/config.h>
#include <linux/config.h>
#ifdef CONFIG_DEBUG_DRIVER
#define DEBUG 1
#endif
#include <linux/device.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/init.h>
...
...
drivers/base/class_simple.c
View file @
d5def5f7
...
@@ -9,10 +9,6 @@
...
@@ -9,10 +9,6 @@
*/
*/
#include <linux/config.h>
#include <linux/config.h>
#ifdef CONFIG_DEBUG_DRIVER
#define DEBUG 1
#endif
#include <linux/device.h>
#include <linux/device.h>
#include <linux/kdev_t.h>
#include <linux/kdev_t.h>
#include <linux/err.h>
#include <linux/err.h>
...
...
drivers/base/core.c
View file @
d5def5f7
...
@@ -9,10 +9,6 @@
...
@@ -9,10 +9,6 @@
*/
*/
#include <linux/config.h>
#include <linux/config.h>
#ifdef CONFIG_DEBUG_DRIVER
#define DEBUG 1
#endif
#include <linux/device.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/init.h>
...
...
drivers/base/driver.c
View file @
d5def5f7
...
@@ -9,10 +9,6 @@
...
@@ -9,10 +9,6 @@
*/
*/
#include <linux/config.h>
#include <linux/config.h>
#ifdef CONFIG_DEBUG_DRIVER
#define DEBUG 1
#endif
#include <linux/device.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/errno.h>
...
...
drivers/base/power/Makefile
View file @
d5def5f7
obj-y
:=
shutdown.o
obj-y
:=
shutdown.o
obj-$(CONFIG_PM)
+=
main.o suspend.o resume.o runtime.o sysfs.o
obj-$(CONFIG_PM)
+=
main.o suspend.o resume.o runtime.o sysfs.o
ifeq
($(CONFIG_DEBUG_DRIVER),y)
EXTRA_CFLAGS
+=
-DDEBUG
endif
drivers/base/power/main.c
View file @
d5def5f7
...
@@ -20,10 +20,6 @@
...
@@ -20,10 +20,6 @@
*/
*/
#include <linux/config.h>
#include <linux/config.h>
#ifdef CONFIG_DEBUG_DRIVER
#define DEBUG 1
#endif
#include <linux/device.h>
#include <linux/device.h>
#include "power.h"
#include "power.h"
...
...
drivers/base/power/shutdown.c
View file @
d5def5f7
...
@@ -9,10 +9,6 @@
...
@@ -9,10 +9,6 @@
*/
*/
#include <linux/config.h>
#include <linux/config.h>
#ifdef CONFIG_DEBUG_DRIVER
#define DEBUG 1
#endif
#include <linux/device.h>
#include <linux/device.h>
#include <asm/semaphore.h>
#include <asm/semaphore.h>
...
...
drivers/base/sys.c
View file @
d5def5f7
...
@@ -13,10 +13,6 @@
...
@@ -13,10 +13,6 @@
*/
*/
#include <linux/config.h>
#include <linux/config.h>
#ifdef CONFIG_DEBUG_DRIVER
#define DEBUG 1
#endif
#include <linux/sysdev.h>
#include <linux/sysdev.h>
#include <linux/err.h>
#include <linux/err.h>
#include <linux/module.h>
#include <linux/module.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment