diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-25 16:56:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-25 16:56:39 -0400 |
commit | d3ec4844d449cf7af9e749f73ba2052fb7b72fc2 (patch) | |
tree | c515913e85f7e50878c83da2a88bc5a7269d087c /drivers/i2c | |
parent | 0003230e8200699860f0b10af524dc47bf8aecad (diff) | |
parent | df2e301fee3c2c2a87592151397ad7699bb14c37 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits)
fs: Merge split strings
treewide: fix potentially dangerous trailing ';' in #defined values/expressions
uwb: Fix misspelling of neighbourhood in comment
net, netfilter: Remove redundant goto in ebt_ulog_packet
trivial: don't touch files that are removed in the staging tree
lib/vsprintf: replace link to Draft by final RFC number
doc: Kconfig: `to be' -> `be'
doc: Kconfig: Typo: square -> squared
doc: Konfig: Documentation/power/{pm => apm-acpi}.txt
drivers/net: static should be at beginning of declaration
drivers/media: static should be at beginning of declaration
drivers/i2c: static should be at beginning of declaration
XTENSA: static should be at beginning of declaration
SH: static should be at beginning of declaration
MIPS: static should be at beginning of declaration
ARM: static should be at beginning of declaration
rcu: treewide: Do not use rcu_read_lock_held when calling rcu_dereference_check
Update my e-mail address
PCIe ASPM: forcedly -> forcibly
gma500: push through device driver tree
...
Fix up trivial conflicts:
- arch/arm/mach-ep93xx/dma-m2p.c (deleted)
- drivers/gpio/gpio-ep93xx.c (renamed and context nearby)
- drivers/net/r8169.c (just context changes)
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/Kconfig | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-highlander.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-omap.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index 30f06e956bfb..5f13c62e64b4 100644 --- a/drivers/i2c/Kconfig +++ b/drivers/i2c/Kconfig | |||
@@ -7,7 +7,7 @@ menuconfig I2C | |||
7 | depends on HAS_IOMEM | 7 | depends on HAS_IOMEM |
8 | select RT_MUTEXES | 8 | select RT_MUTEXES |
9 | ---help--- | 9 | ---help--- |
10 | I2C (pronounce: I-square-C) is a slow serial bus protocol used in | 10 | I2C (pronounce: I-squared-C) is a slow serial bus protocol used in |
11 | many micro controller applications and developed by Philips. SMBus, | 11 | many micro controller applications and developed by Philips. SMBus, |
12 | or System Management Bus is a subset of the I2C protocol. More | 12 | or System Management Bus is a subset of the I2C protocol. More |
13 | information is contained in the directory <file:Documentation/i2c/>, | 13 | information is contained in the directory <file:Documentation/i2c/>, |
diff --git a/drivers/i2c/busses/i2c-highlander.c b/drivers/i2c/busses/i2c-highlander.c index 3df1bc80f37a..3876a2478bd7 100644 --- a/drivers/i2c/busses/i2c-highlander.c +++ b/drivers/i2c/busses/i2c-highlander.c | |||
@@ -227,7 +227,7 @@ static int highlander_i2c_read(struct highlander_i2c_dev *dev) | |||
227 | 227 | ||
228 | /* | 228 | /* |
229 | * The R0P7780LC0011RL FPGA needs a significant delay between | 229 | * The R0P7780LC0011RL FPGA needs a significant delay between |
230 | * data read cycles, otherwise the transciever gets confused and | 230 | * data read cycles, otherwise the transceiver gets confused and |
231 | * garbage is returned when the read is subsequently aborted. | 231 | * garbage is returned when the read is subsequently aborted. |
232 | * | 232 | * |
233 | * It is not sufficient to wait for BBSY. | 233 | * It is not sufficient to wait for BBSY. |
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index 58a58c7eaa17..1a766cf74f6b 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c | |||
@@ -204,7 +204,7 @@ struct omap_i2c_dev { | |||
204 | u16 errata; | 204 | u16 errata; |
205 | }; | 205 | }; |
206 | 206 | ||
207 | const static u8 reg_map[] = { | 207 | static const u8 reg_map[] = { |
208 | [OMAP_I2C_REV_REG] = 0x00, | 208 | [OMAP_I2C_REV_REG] = 0x00, |
209 | [OMAP_I2C_IE_REG] = 0x01, | 209 | [OMAP_I2C_IE_REG] = 0x01, |
210 | [OMAP_I2C_STAT_REG] = 0x02, | 210 | [OMAP_I2C_STAT_REG] = 0x02, |
@@ -225,7 +225,7 @@ const static u8 reg_map[] = { | |||
225 | [OMAP_I2C_BUFSTAT_REG] = 0x10, | 225 | [OMAP_I2C_BUFSTAT_REG] = 0x10, |
226 | }; | 226 | }; |
227 | 227 | ||
228 | const static u8 omap4_reg_map[] = { | 228 | static const u8 omap4_reg_map[] = { |
229 | [OMAP_I2C_REV_REG] = 0x04, | 229 | [OMAP_I2C_REV_REG] = 0x04, |
230 | [OMAP_I2C_IE_REG] = 0x2c, | 230 | [OMAP_I2C_IE_REG] = 0x2c, |
231 | [OMAP_I2C_STAT_REG] = 0x28, | 231 | [OMAP_I2C_STAT_REG] = 0x28, |