diff options
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/Makefile | 4 | ||||
-rw-r--r-- | drivers/i2c/algos/Makefile | 4 | ||||
-rw-r--r-- | drivers/i2c/busses/Makefile | 4 | ||||
-rw-r--r-- | drivers/i2c/muxes/Makefile | 4 |
4 files changed, 4 insertions, 12 deletions
diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile index c00fd66388f5..23ac61e2db39 100644 --- a/drivers/i2c/Makefile +++ b/drivers/i2c/Makefile | |||
@@ -9,6 +9,4 @@ obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o | |||
9 | obj-$(CONFIG_I2C_MUX) += i2c-mux.o | 9 | obj-$(CONFIG_I2C_MUX) += i2c-mux.o |
10 | obj-y += algos/ busses/ muxes/ | 10 | obj-y += algos/ busses/ muxes/ |
11 | 11 | ||
12 | ifeq ($(CONFIG_I2C_DEBUG_CORE),y) | 12 | ccflags-$(CONFIG_I2C_DEBUG_CORE) := -DDEBUG |
13 | EXTRA_CFLAGS += -DDEBUG | ||
14 | endif | ||
diff --git a/drivers/i2c/algos/Makefile b/drivers/i2c/algos/Makefile index 18b3e962ec09..215303f60d61 100644 --- a/drivers/i2c/algos/Makefile +++ b/drivers/i2c/algos/Makefile | |||
@@ -6,6 +6,4 @@ obj-$(CONFIG_I2C_ALGOBIT) += i2c-algo-bit.o | |||
6 | obj-$(CONFIG_I2C_ALGOPCF) += i2c-algo-pcf.o | 6 | obj-$(CONFIG_I2C_ALGOPCF) += i2c-algo-pcf.o |
7 | obj-$(CONFIG_I2C_ALGOPCA) += i2c-algo-pca.o | 7 | obj-$(CONFIG_I2C_ALGOPCA) += i2c-algo-pca.o |
8 | 8 | ||
9 | ifeq ($(CONFIG_I2C_DEBUG_ALGO),y) | 9 | ccflags-$(CONFIG_I2C_DEBUG_ALGO) := -DDEBUG |
10 | EXTRA_CFLAGS += -DDEBUG | ||
11 | endif | ||
diff --git a/drivers/i2c/busses/Makefile b/drivers/i2c/busses/Makefile index c3ef49230cba..033ad413f328 100644 --- a/drivers/i2c/busses/Makefile +++ b/drivers/i2c/busses/Makefile | |||
@@ -76,6 +76,4 @@ obj-$(CONFIG_I2C_STUB) += i2c-stub.o | |||
76 | obj-$(CONFIG_SCx200_ACB) += scx200_acb.o | 76 | obj-$(CONFIG_SCx200_ACB) += scx200_acb.o |
77 | obj-$(CONFIG_SCx200_I2C) += scx200_i2c.o | 77 | obj-$(CONFIG_SCx200_I2C) += scx200_i2c.o |
78 | 78 | ||
79 | ifeq ($(CONFIG_I2C_DEBUG_BUS),y) | 79 | ccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG |
80 | EXTRA_CFLAGS += -DDEBUG | ||
81 | endif | ||
diff --git a/drivers/i2c/muxes/Makefile b/drivers/i2c/muxes/Makefile index bd83b5274815..6f497862bdc5 100644 --- a/drivers/i2c/muxes/Makefile +++ b/drivers/i2c/muxes/Makefile | |||
@@ -3,6 +3,4 @@ | |||
3 | 3 | ||
4 | obj-$(CONFIG_I2C_MUX_PCA954x) += pca954x.o | 4 | obj-$(CONFIG_I2C_MUX_PCA954x) += pca954x.o |
5 | 5 | ||
6 | ifeq ($(CONFIG_I2C_DEBUG_BUS),y) | 6 | ccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG |
7 | EXTRA_CFLAGS += -DDEBUG | ||
8 | endif | ||