diff options
Diffstat (limited to 'drivers/media/dvb/frontends/drx397xD.h')
-rw-r--r-- | drivers/media/dvb/frontends/drx397xD.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/drx397xD.h b/drivers/media/dvb/frontends/drx397xD.h index ddc7a07971b7..ba05d17290c6 100644 --- a/drivers/media/dvb/frontends/drx397xD.h +++ b/drivers/media/dvb/frontends/drx397xD.h | |||
@@ -28,7 +28,7 @@ | |||
28 | #define DRX_F_OFFSET 36000000 | 28 | #define DRX_F_OFFSET 36000000 |
29 | 29 | ||
30 | #define I2C_ADR_C0(x) \ | 30 | #define I2C_ADR_C0(x) \ |
31 | ( (u32)cpu_to_le32( \ | 31 | ( cpu_to_le32( \ |
32 | (u32)( \ | 32 | (u32)( \ |
33 | (((u32)(x) & (u32)0x000000ffUL) ) | \ | 33 | (((u32)(x) & (u32)0x000000ffUL) ) | \ |
34 | (((u32)(x) & (u32)0x0000ff00UL) << 16) | \ | 34 | (((u32)(x) & (u32)0x0000ff00UL) << 16) | \ |
@@ -38,7 +38,7 @@ | |||
38 | ) | 38 | ) |
39 | 39 | ||
40 | #define I2C_ADR_E0(x) \ | 40 | #define I2C_ADR_E0(x) \ |
41 | ( (u32)cpu_to_le32( \ | 41 | ( cpu_to_le32( \ |
42 | (u32)( \ | 42 | (u32)( \ |
43 | (((u32)(x) & (u32)0x000000ffUL) ) | \ | 43 | (((u32)(x) & (u32)0x000000ffUL) ) | \ |
44 | (((u32)(x) & (u32)0x0000ff00UL) << 16) | \ | 44 | (((u32)(x) & (u32)0x0000ff00UL) << 16) | \ |
@@ -122,7 +122,7 @@ extern struct dvb_frontend* drx397xD_attach(const struct drx397xD_config *config | |||
122 | static inline struct dvb_frontend* drx397xD_attach(const struct drx397xD_config *config, | 122 | static inline struct dvb_frontend* drx397xD_attach(const struct drx397xD_config *config, |
123 | struct i2c_adapter *i2c) | 123 | struct i2c_adapter *i2c) |
124 | { | 124 | { |
125 | printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__); | 125 | printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); |
126 | return NULL; | 126 | return NULL; |
127 | } | 127 | } |
128 | #endif /* CONFIG_DVB_DRX397XD */ | 128 | #endif /* CONFIG_DVB_DRX397XD */ |