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
nexedi
linux
Commits
0fd0b1f6
Commit
0fd0b1f6
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_BUS logic to be simpler on the .c files.
parent
cbc22621
Changes
33
Show whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
4 additions
and
128 deletions
+4
-128
drivers/i2c/busses/Makefile
drivers/i2c/busses/Makefile
+4
-0
drivers/i2c/busses/i2c-ali1535.c
drivers/i2c/busses/i2c-ali1535.c
+0
-4
drivers/i2c/busses/i2c-ali15x3.c
drivers/i2c/busses/i2c-ali15x3.c
+0
-4
drivers/i2c/busses/i2c-amd756.c
drivers/i2c/busses/i2c-amd756.c
+0
-4
drivers/i2c/busses/i2c-amd8111.c
drivers/i2c/busses/i2c-amd8111.c
+0
-4
drivers/i2c/busses/i2c-elektor.c
drivers/i2c/busses/i2c-elektor.c
+0
-4
drivers/i2c/busses/i2c-elv.c
drivers/i2c/busses/i2c-elv.c
+0
-4
drivers/i2c/busses/i2c-frodo.c
drivers/i2c/busses/i2c-frodo.c
+0
-4
drivers/i2c/busses/i2c-i801.c
drivers/i2c/busses/i2c-i801.c
+0
-4
drivers/i2c/busses/i2c-i810.c
drivers/i2c/busses/i2c-i810.c
+0
-4
drivers/i2c/busses/i2c-ibm_iic.c
drivers/i2c/busses/i2c-ibm_iic.c
+0
-4
drivers/i2c/busses/i2c-iop3xx.c
drivers/i2c/busses/i2c-iop3xx.c
+0
-4
drivers/i2c/busses/i2c-isa.c
drivers/i2c/busses/i2c-isa.c
+0
-4
drivers/i2c/busses/i2c-ite.c
drivers/i2c/busses/i2c-ite.c
+0
-4
drivers/i2c/busses/i2c-ixp42x.c
drivers/i2c/busses/i2c-ixp42x.c
+0
-4
drivers/i2c/busses/i2c-keywest.c
drivers/i2c/busses/i2c-keywest.c
+0
-4
drivers/i2c/busses/i2c-nforce2.c
drivers/i2c/busses/i2c-nforce2.c
+0
-4
drivers/i2c/busses/i2c-parport-light.c
drivers/i2c/busses/i2c-parport-light.c
+0
-4
drivers/i2c/busses/i2c-parport.c
drivers/i2c/busses/i2c-parport.c
+0
-4
drivers/i2c/busses/i2c-philips-par.c
drivers/i2c/busses/i2c-philips-par.c
+0
-4
drivers/i2c/busses/i2c-piix4.c
drivers/i2c/busses/i2c-piix4.c
+0
-4
drivers/i2c/busses/i2c-prosavage.c
drivers/i2c/busses/i2c-prosavage.c
+0
-4
drivers/i2c/busses/i2c-rpx.c
drivers/i2c/busses/i2c-rpx.c
+0
-4
drivers/i2c/busses/i2c-savage4.c
drivers/i2c/busses/i2c-savage4.c
+0
-4
drivers/i2c/busses/i2c-sis5595.c
drivers/i2c/busses/i2c-sis5595.c
+0
-4
drivers/i2c/busses/i2c-sis630.c
drivers/i2c/busses/i2c-sis630.c
+0
-4
drivers/i2c/busses/i2c-sis96x.c
drivers/i2c/busses/i2c-sis96x.c
+0
-4
drivers/i2c/busses/i2c-velleman.c
drivers/i2c/busses/i2c-velleman.c
+0
-4
drivers/i2c/busses/i2c-via.c
drivers/i2c/busses/i2c-via.c
+0
-4
drivers/i2c/busses/i2c-viapro.c
drivers/i2c/busses/i2c-viapro.c
+0
-4
drivers/i2c/busses/i2c-voodoo3.c
drivers/i2c/busses/i2c-voodoo3.c
+0
-4
drivers/i2c/busses/scx200_acb.c
drivers/i2c/busses/scx200_acb.c
+0
-4
drivers/i2c/busses/scx200_i2c.c
drivers/i2c/busses/scx200_i2c.c
+0
-4
No files found.
drivers/i2c/busses/Makefile
View file @
0fd0b1f6
...
...
@@ -34,3 +34,7 @@ obj-$(CONFIG_I2C_VIAPRO) += i2c-viapro.o
obj-$(CONFIG_I2C_VOODOO3)
+=
i2c-voodoo3.o
obj-$(CONFIG_SCx200_ACB)
+=
scx200_acb.o
obj-$(CONFIG_SCx200_I2C)
+=
scx200_i2c.o
ifeq
($(CONFIG_I2C_DEBUG_BUS),y)
EXTRA_CFLAGS
+=
-DDEBUG
endif
drivers/i2c/busses/i2c-ali1535.c
View file @
0fd0b1f6
...
...
@@ -54,10 +54,6 @@
/* Note: we assume there can only be one ALI1535, with one SMBus interface */
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/kernel.h>
...
...
drivers/i2c/busses/i2c-ali15x3.c
View file @
0fd0b1f6
...
...
@@ -61,10 +61,6 @@
/* Note: we assume there can only be one ALI15X3, with one SMBus interface */
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/kernel.h>
...
...
drivers/i2c/busses/i2c-amd756.c
View file @
0fd0b1f6
...
...
@@ -38,10 +38,6 @@
*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/kernel.h>
...
...
drivers/i2c/busses/i2c-amd8111.c
View file @
0fd0b1f6
...
...
@@ -9,10 +9,6 @@
*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/kernel.h>
...
...
drivers/i2c/busses/i2c-elektor.c
View file @
0fd0b1f6
...
...
@@ -26,10 +26,6 @@
for Alpha Processor Inc. UP-2000(+) boards */
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/kernel.h>
#include <linux/ioport.h>
#include <linux/module.h>
...
...
drivers/i2c/busses/i2c-elv.c
View file @
0fd0b1f6
...
...
@@ -22,10 +22,6 @@
Frodo Looijaard <frodol@dds.nl> */
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
...
...
drivers/i2c/busses/i2c-frodo.c
View file @
0fd0b1f6
...
...
@@ -13,10 +13,6 @@
*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
...
...
drivers/i2c/busses/i2c-i801.c
View file @
0fd0b1f6
...
...
@@ -39,10 +39,6 @@
/* Note: we assume there can only be one I801, with one SMBus interface */
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/kernel.h>
...
...
drivers/i2c/busses/i2c-i810.c
View file @
0fd0b1f6
...
...
@@ -35,10 +35,6 @@
*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
...
...
drivers/i2c/busses/i2c-ibm_iic.c
View file @
0fd0b1f6
...
...
@@ -29,10 +29,6 @@
*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/ioport.h>
...
...
drivers/i2c/busses/i2c-iop3xx.c
View file @
0fd0b1f6
...
...
@@ -32,10 +32,6 @@
---------------------------------------------------------------------------*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
...
...
drivers/i2c/busses/i2c-isa.c
View file @
0fd0b1f6
...
...
@@ -25,10 +25,6 @@
of this. */
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
...
...
drivers/i2c/busses/i2c-ite.c
View file @
0fd0b1f6
...
...
@@ -34,10 +34,6 @@
Frodo Looijaard <frodol@dds.nl> */
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/kernel.h>
#include <linux/ioport.h>
#include <linux/module.h>
...
...
drivers/i2c/busses/i2c-ixp42x.c
View file @
0fd0b1f6
...
...
@@ -27,10 +27,6 @@
*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/device.h>
...
...
drivers/i2c/busses/i2c-keywest.c
View file @
0fd0b1f6
...
...
@@ -47,10 +47,6 @@
*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/module.h>
#include <linux/config.h>
#include <linux/kernel.h>
...
...
drivers/i2c/busses/i2c-nforce2.c
View file @
0fd0b1f6
...
...
@@ -33,10 +33,6 @@
/* Note: we assume there can only be one nForce2, with two SMBus interfaces */
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/kernel.h>
...
...
drivers/i2c/busses/i2c-parport-light.c
View file @
0fd0b1f6
...
...
@@ -25,10 +25,6 @@
* ------------------------------------------------------------------------ */
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
...
...
drivers/i2c/busses/i2c-parport.c
View file @
0fd0b1f6
...
...
@@ -25,10 +25,6 @@
* ------------------------------------------------------------------------ */
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
...
...
drivers/i2c/busses/i2c-philips-par.c
View file @
0fd0b1f6
...
...
@@ -22,10 +22,6 @@
Frodo Looijaard <frodol@dds.nl> */
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
...
...
drivers/i2c/busses/i2c-piix4.c
View file @
0fd0b1f6
...
...
@@ -29,10 +29,6 @@
*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/config.h>
...
...
drivers/i2c/busses/i2c-prosavage.c
View file @
0fd0b1f6
...
...
@@ -55,10 +55,6 @@
*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/module.h>
#include <linux/init.h>
#include <linux/pci.h>
...
...
drivers/i2c/busses/i2c-rpx.c
View file @
0fd0b1f6
...
...
@@ -12,10 +12,6 @@
*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
...
...
drivers/i2c/busses/i2c-savage4.c
View file @
0fd0b1f6
...
...
@@ -30,10 +30,6 @@
*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
...
...
drivers/i2c/busses/i2c-sis5595.c
View file @
0fd0b1f6
...
...
@@ -56,10 +56,6 @@
*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
...
...
drivers/i2c/busses/i2c-sis630.c
View file @
0fd0b1f6
...
...
@@ -49,10 +49,6 @@
*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
...
...
drivers/i2c/busses/i2c-sis96x.c
View file @
0fd0b1f6
...
...
@@ -33,10 +33,6 @@
*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/kernel.h>
...
...
drivers/i2c/busses/i2c-velleman.c
View file @
0fd0b1f6
...
...
@@ -19,10 +19,6 @@
/* ------------------------------------------------------------------------- */
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/kernel.h>
#include <linux/ioport.h>
#include <linux/module.h>
...
...
drivers/i2c/busses/i2c-via.c
View file @
0fd0b1f6
...
...
@@ -22,10 +22,6 @@
*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
...
...
drivers/i2c/busses/i2c-viapro.c
View file @
0fd0b1f6
...
...
@@ -34,10 +34,6 @@
*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/kernel.h>
...
...
drivers/i2c/busses/i2c-voodoo3.c
View file @
0fd0b1f6
...
...
@@ -28,10 +28,6 @@
the BT869 and possibly other I2C devices. */
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
...
...
drivers/i2c/busses/scx200_acb.c
View file @
0fd0b1f6
...
...
@@ -25,10 +25,6 @@
*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/config.h>
#include <linux/module.h>
#include <linux/errno.h>
...
...
drivers/i2c/busses/scx200_i2c.c
View file @
0fd0b1f6
...
...
@@ -22,10 +22,6 @@
*/
#include <linux/config.h>
#ifdef CONFIG_I2C_DEBUG_BUS
#define DEBUG 1
#endif
#include <linux/config.h>
#include <linux/module.h>
#include <linux/errno.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