diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-12 19:41:09 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-12 19:41:09 -0500 |
commit | daf9fe2ee9a203c4fc555cfe5c5f3d9f660e743c (patch) | |
tree | 18e5384b5cb170e5962f449afc89605ef5e65ea1 | |
parent | 9d85929fefd040ca84a5e04ee704d043efcc3c2e (diff) | |
parent | 8d002bdc9f1f9a1220c0d87a7321f0233ace97cd (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6:
mfd: Several MFD drivers should depend on GENERIC_HARDIRQS
mfd: Fix sm501 requested region size
-rw-r--r-- | drivers/mfd/Kconfig | 9 | ||||
-rw-r--r-- | drivers/mfd/sm501.c | 4 |
2 files changed, 7 insertions, 6 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 951fa9b93fbe..2a5a0b78f84e 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -11,7 +11,7 @@ config MFD_CORE | |||
11 | 11 | ||
12 | config MFD_88PM860X | 12 | config MFD_88PM860X |
13 | bool "Support Marvell 88PM8606/88PM8607" | 13 | bool "Support Marvell 88PM8606/88PM8607" |
14 | depends on I2C=y | 14 | depends on I2C=y && GENERIC_HARDIRQS |
15 | select MFD_CORE | 15 | select MFD_CORE |
16 | help | 16 | help |
17 | This supports for Marvell 88PM8606/88PM8607 Power Management IC. | 17 | This supports for Marvell 88PM8606/88PM8607 Power Management IC. |
@@ -205,7 +205,7 @@ config PMIC_ADP5520 | |||
205 | 205 | ||
206 | config MFD_MAX8925 | 206 | config MFD_MAX8925 |
207 | bool "Maxim Semiconductor MAX8925 PMIC Support" | 207 | bool "Maxim Semiconductor MAX8925 PMIC Support" |
208 | depends on I2C=y | 208 | depends on I2C=y && GENERIC_HARDIRQS |
209 | select MFD_CORE | 209 | select MFD_CORE |
210 | help | 210 | help |
211 | Say yes here to support for Maxim Semiconductor MAX8925. This is | 211 | Say yes here to support for Maxim Semiconductor MAX8925. This is |
@@ -226,7 +226,7 @@ config MFD_WM8400 | |||
226 | config MFD_WM831X | 226 | config MFD_WM831X |
227 | bool "Support Wolfson Microelectronics WM831x/2x PMICs" | 227 | bool "Support Wolfson Microelectronics WM831x/2x PMICs" |
228 | select MFD_CORE | 228 | select MFD_CORE |
229 | depends on I2C=y | 229 | depends on I2C=y && GENERIC_HARDIRQS |
230 | help | 230 | help |
231 | Support for the Wolfson Microelecronics WM831x and WM832x PMICs. | 231 | Support for the Wolfson Microelecronics WM831x and WM832x PMICs. |
232 | This driver provides common support for accessing the device, | 232 | This driver provides common support for accessing the device, |
@@ -235,6 +235,7 @@ config MFD_WM831X | |||
235 | 235 | ||
236 | config MFD_WM8350 | 236 | config MFD_WM8350 |
237 | bool | 237 | bool |
238 | depends on GENERIC_HARDIRQS | ||
238 | 239 | ||
239 | config MFD_WM8350_CONFIG_MODE_0 | 240 | config MFD_WM8350_CONFIG_MODE_0 |
240 | bool | 241 | bool |
@@ -287,7 +288,7 @@ config MFD_WM8352_CONFIG_MODE_3 | |||
287 | config MFD_WM8350_I2C | 288 | config MFD_WM8350_I2C |
288 | bool "Support Wolfson Microelectronics WM8350 with I2C" | 289 | bool "Support Wolfson Microelectronics WM8350 with I2C" |
289 | select MFD_WM8350 | 290 | select MFD_WM8350 |
290 | depends on I2C=y | 291 | depends on I2C=y && GENERIC_HARDIRQS |
291 | help | 292 | help |
292 | The WM8350 is an integrated audio and power management | 293 | The WM8350 is an integrated audio and power management |
293 | subsystem with watchdog and RTC functionality for embedded | 294 | subsystem with watchdog and RTC functionality for embedded |
diff --git a/drivers/mfd/sm501.c b/drivers/mfd/sm501.c index ff0718efb0ae..7b6652f60117 100644 --- a/drivers/mfd/sm501.c +++ b/drivers/mfd/sm501.c | |||
@@ -1430,7 +1430,7 @@ static int __devinit sm501_plat_probe(struct platform_device *dev) | |||
1430 | } | 1430 | } |
1431 | 1431 | ||
1432 | sm->regs_claim = request_mem_region(sm->io_res->start, | 1432 | sm->regs_claim = request_mem_region(sm->io_res->start, |
1433 | resource_size(sm->io_res), "sm501"); | 1433 | 0x100, "sm501"); |
1434 | 1434 | ||
1435 | if (sm->regs_claim == NULL) { | 1435 | if (sm->regs_claim == NULL) { |
1436 | dev_err(&dev->dev, "cannot claim registers\n"); | 1436 | dev_err(&dev->dev, "cannot claim registers\n"); |
@@ -1644,7 +1644,7 @@ static int __devinit sm501_pci_probe(struct pci_dev *dev, | |||
1644 | sm->mem_res = &dev->resource[0]; | 1644 | sm->mem_res = &dev->resource[0]; |
1645 | 1645 | ||
1646 | sm->regs_claim = request_mem_region(sm->io_res->start, | 1646 | sm->regs_claim = request_mem_region(sm->io_res->start, |
1647 | resource_size(sm->io_res), "sm501"); | 1647 | 0x100, "sm501"); |
1648 | if (sm->regs_claim == NULL) { | 1648 | if (sm->regs_claim == NULL) { |
1649 | dev_err(&dev->dev, "cannot claim registers\n"); | 1649 | dev_err(&dev->dev, "cannot claim registers\n"); |
1650 | err= -EBUSY; | 1650 | err= -EBUSY; |