aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r--drivers/i2c/busses/i2c-highlander.c2
-rw-r--r--drivers/i2c/busses/i2c-ibm_iic.c4
-rw-r--r--drivers/i2c/busses/i2c-sis630.c4
-rw-r--r--drivers/i2c/busses/i2c-viapro.c2
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
55static int iic_force_poll, iic_force_normal; 55static bool iic_force_poll, iic_force_normal;
56static int iic_timeout = 1000, iic_read_delay; 56static int iic_timeout = 1000, iic_read_delay;
57 57
58static inline void highlander_i2c_irq_enable(struct highlander_i2c_dev *dev) 58static 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 @@
51MODULE_DESCRIPTION("IBM IIC driver v" DRIVER_VERSION); 51MODULE_DESCRIPTION("IBM IIC driver v" DRIVER_VERSION);
52MODULE_LICENSE("GPL"); 52MODULE_LICENSE("GPL");
53 53
54static int iic_force_poll; 54static bool iic_force_poll;
55module_param(iic_force_poll, bool, 0); 55module_param(iic_force_poll, bool, 0);
56MODULE_PARM_DESC(iic_force_poll, "Force polling mode"); 56MODULE_PARM_DESC(iic_force_poll, "Force polling mode");
57 57
58static int iic_force_fast; 58static bool iic_force_fast;
59module_param(iic_force_fast, bool, 0); 59module_param(iic_force_fast, bool, 0);
60MODULE_PARM_DESC(iic_force_fast, "Force fast mode (400 kHz)"); 60MODULE_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 @@
93static struct pci_driver sis630_driver; 93static struct pci_driver sis630_driver;
94 94
95/* insmod parameters */ 95/* insmod parameters */
96static int high_clock; 96static bool high_clock;
97static int force; 97static bool force;
98module_param(high_clock, bool, 0); 98module_param(high_clock, bool, 0);
99MODULE_PARM_DESC(high_clock, "Set Host Master Clock to 56KHz (default 14KHz)."); 99MODULE_PARM_DESC(high_clock, "Set Host Master Clock to 56KHz (default 14KHz).");
100module_param(force, bool, 0); 100module_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! */
94static int force; 94static bool force;
95module_param(force, bool, 0); 95module_param(force, bool, 0);
96MODULE_PARM_DESC(force, "Forcibly enable the SMBus. DANGEROUS!"); 96MODULE_PARM_DESC(force, "Forcibly enable the SMBus. DANGEROUS!");
97 97