diff options
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r-- | drivers/i2c/busses/i2c-highlander.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-ibm_iic.c | 4 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-sis630.c | 4 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-viapro.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/drivers/i2c/busses/i2c-highlander.c b/drivers/i2c/busses/i2c-highlander.c index 63bb1cc2a042..fa88868cb556 100644 --- a/drivers/i2c/busses/i2c-highlander.c +++ b/drivers/i2c/busses/i2c-highlander.c | |||
@@ -52,7 +52,7 @@ struct highlander_i2c_dev { | |||
52 | size_t buf_len; | 52 | size_t buf_len; |
53 | }; | 53 | }; |
54 | 54 | ||
55 | static int iic_force_poll, iic_force_normal; | 55 | static bool iic_force_poll, iic_force_normal; |
56 | static int iic_timeout = 1000, iic_read_delay; | 56 | static int iic_timeout = 1000, iic_read_delay; |
57 | 57 | ||
58 | static inline void highlander_i2c_irq_enable(struct highlander_i2c_dev *dev) | 58 | static inline void highlander_i2c_irq_enable(struct highlander_i2c_dev *dev) |
diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c index 3c110fbc409b..c08ceb957aa7 100644 --- a/drivers/i2c/busses/i2c-ibm_iic.c +++ b/drivers/i2c/busses/i2c-ibm_iic.c | |||
@@ -51,11 +51,11 @@ | |||
51 | MODULE_DESCRIPTION("IBM IIC driver v" DRIVER_VERSION); | 51 | MODULE_DESCRIPTION("IBM IIC driver v" DRIVER_VERSION); |
52 | MODULE_LICENSE("GPL"); | 52 | MODULE_LICENSE("GPL"); |
53 | 53 | ||
54 | static int iic_force_poll; | 54 | static bool iic_force_poll; |
55 | module_param(iic_force_poll, bool, 0); | 55 | module_param(iic_force_poll, bool, 0); |
56 | MODULE_PARM_DESC(iic_force_poll, "Force polling mode"); | 56 | MODULE_PARM_DESC(iic_force_poll, "Force polling mode"); |
57 | 57 | ||
58 | static int iic_force_fast; | 58 | static bool iic_force_fast; |
59 | module_param(iic_force_fast, bool, 0); | 59 | module_param(iic_force_fast, bool, 0); |
60 | MODULE_PARM_DESC(iic_force_fast, "Force fast mode (400 kHz)"); | 60 | MODULE_PARM_DESC(iic_force_fast, "Force fast mode (400 kHz)"); |
61 | 61 | ||
diff --git a/drivers/i2c/busses/i2c-sis630.c b/drivers/i2c/busses/i2c-sis630.c index e6f539e26f65..58893772c3d8 100644 --- a/drivers/i2c/busses/i2c-sis630.c +++ b/drivers/i2c/busses/i2c-sis630.c | |||
@@ -93,8 +93,8 @@ | |||
93 | static struct pci_driver sis630_driver; | 93 | static struct pci_driver sis630_driver; |
94 | 94 | ||
95 | /* insmod parameters */ | 95 | /* insmod parameters */ |
96 | static int high_clock; | 96 | static bool high_clock; |
97 | static int force; | 97 | static bool force; |
98 | module_param(high_clock, bool, 0); | 98 | module_param(high_clock, bool, 0); |
99 | MODULE_PARM_DESC(high_clock, "Set Host Master Clock to 56KHz (default 14KHz)."); | 99 | MODULE_PARM_DESC(high_clock, "Set Host Master Clock to 56KHz (default 14KHz)."); |
100 | module_param(force, bool, 0); | 100 | module_param(force, bool, 0); |
diff --git a/drivers/i2c/busses/i2c-viapro.c b/drivers/i2c/busses/i2c-viapro.c index 0b012f1f8ac5..2a62c998044a 100644 --- a/drivers/i2c/busses/i2c-viapro.c +++ b/drivers/i2c/busses/i2c-viapro.c | |||
@@ -91,7 +91,7 @@ static unsigned short SMBHSTCFG = 0xD2; | |||
91 | 91 | ||
92 | /* If force is set to anything different from 0, we forcibly enable the | 92 | /* If force is set to anything different from 0, we forcibly enable the |
93 | VT596. DANGEROUS! */ | 93 | VT596. DANGEROUS! */ |
94 | static int force; | 94 | static bool force; |
95 | module_param(force, bool, 0); | 95 | module_param(force, bool, 0); |
96 | MODULE_PARM_DESC(force, "Forcibly enable the SMBus. DANGEROUS!"); | 96 | MODULE_PARM_DESC(force, "Forcibly enable the SMBus. DANGEROUS!"); |
97 | 97 | ||