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
eb3b5324
Commit
eb3b5324
authored
Mar 14, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] I2C: fix up CONFIG_I2C_DEBUG_CORE logic to be simpler on the .c files.
parent
0fd0b1f6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
12 deletions
+4
-12
drivers/i2c/Makefile
drivers/i2c/Makefile
+4
-0
drivers/i2c/i2c-core.c
drivers/i2c/i2c-core.c
+0
-4
drivers/i2c/i2c-dev.c
drivers/i2c/i2c-dev.c
+0
-4
drivers/i2c/i2c-sensor.c
drivers/i2c/i2c-sensor.c
+0
-4
No files found.
drivers/i2c/Makefile
View file @
eb3b5324
...
...
@@ -6,3 +6,7 @@ obj-$(CONFIG_I2C) += i2c-core.o
obj-$(CONFIG_I2C_CHARDEV)
+=
i2c-dev.o
obj-$(CONFIG_I2C_SENSOR)
+=
i2c-sensor.o
obj-y
+=
busses/ chips/ algos/
ifeq
($(CONFIG_I2C_DEBUG_CORE),y)
EXTRA_CFLAGS
+=
-DDEBUG
endif
drivers/i2c/i2c-core.c
View file @
eb3b5324
...
...
@@ -22,10 +22,6 @@
SMBus 2.0 support by Mark Studebaker <mdsxyz123@yahoo.com> */
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_CORE
#define DEBUG 1
#endif
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
...
...
drivers/i2c/i2c-dev.c
View file @
eb3b5324
...
...
@@ -30,10 +30,6 @@
<pmhahn@titan.lahn.de> */
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_CORE
#define DEBUG 1
#endif
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/fs.h>
...
...
drivers/i2c/i2c-sensor.c
View file @
eb3b5324
...
...
@@ -20,10 +20,6 @@
*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_CORE
#define DEBUG 1
#endif
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.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