diff options
author | Peter Senna Tschudin <peter.senna@gmail.com> | 2013-01-19 23:41:30 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-06 12:20:41 +0100 |
commit | 6a29b8080bd99793c86060d0dbebfd81c6aa4281 (patch) | |
tree | 0567bfebabddb097a93fc80ce8e902bc22308e40 /drivers/media/usb/hdpvr/hdpvr-i2c.c | |
parent | [media] [V2,22/24] usb/hdpvr/hdpvr-core.c: use IS_ENABLED() macro (diff) | |
download | linux-6a29b8080bd99793c86060d0dbebfd81c6aa4281.tar.xz linux-6a29b8080bd99793c86060d0dbebfd81c6aa4281.zip |
[media] [V2,23/24] usb/hdpvr/hdpvr-i2c.c: use IS_ENABLED() macro
replace:
#if defined(CONFIG_I2C) || \
defined(CONFIG_I2C_MODULE)
with:
#if IS_ENABLED(CONFIG_I2C)
This change was made for: CONFIG_I2C
Reported-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/media/usb/hdpvr/hdpvr-i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/hdpvr/hdpvr-i2c.c b/drivers/media/usb/hdpvr/hdpvr-i2c.c index 6c5054f3f674..a38f58c4c6bf 100644 --- a/drivers/media/usb/hdpvr/hdpvr-i2c.c +++ b/drivers/media/usb/hdpvr/hdpvr-i2c.c @@ -13,7 +13,7 @@ * */ -#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE) +#if IS_ENABLED(CONFIG_I2C) #include <linux/i2c.h> #include <linux/slab.h> |