diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-09 17:38:51 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-09 17:38:51 -0500 |
commit | 5ede3ceb7b2c2843e153a1803edbdc8c56655950 (patch) | |
tree | 4cfa82b619f7d39b671e4a2a213f4d040b09c486 /drivers/dma | |
parent | 6d889d03ab1417645e76e129834f76204bae37c0 (diff) | |
parent | 3e2762c8f1141ae8dc708034ea41d6827818c328 (diff) |
Merge tag 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
New feature development
This adds support for new features, and contains stuff from most
platforms. A number of these patches could have fit into other
branches, too, but were small enough not to cause too much
confusion here.
* tag 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (28 commits)
mfd/db8500-prcmu: remove support for early silicon revisions
ARM: ux500: fix the smp_twd clock calculation
ARM: ux500: remove support for early silicon revisions
ARM: ux500: update register files
ARM: ux500: register DB5500 PMU dynamically
ARM: ux500: update ASIC detection for U5500
ARM: ux500: support DB8520
ARM: picoxcell: implement watchdog restart
ARM: OMAP3+: hwmod data: Add the default clockactivity for I2C
ARM: OMAP3: hwmod data: disable multiblock reads on MMC1/2 on OMAP34xx/35xx <= ES2.1
ARM: OMAP: USB: EHCI and OHCI hwmod structures for OMAP4
ARM: OMAP: USB: EHCI and OHCI hwmod structures for OMAP3
ARM: OMAP: hwmod data: Add support for AM35xx UART4/ttyO3
ARM: Orion: Remove address map info from all platform data structures
ARM: Orion: Get address map from plat-orion instead of via platform_data
ARM: Orion: mbus_dram_info consolidation
ARM: Orion: Consolidate the address map setup
ARM: Kirkwood: Add configuration for MPP12 as GPIO
ARM: Kirkwood: Recognize A1 revision of 6282 chip
ARM: ux500: update the MOP500 GPIO assignments
...
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/mv_xor.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index 9a353c2216d0..e779b434af45 100644 --- a/drivers/dma/mv_xor.c +++ b/drivers/dma/mv_xor.c | |||
@@ -1250,7 +1250,7 @@ static int __devinit mv_xor_probe(struct platform_device *pdev) | |||
1250 | 1250 | ||
1251 | static void | 1251 | static void |
1252 | mv_xor_conf_mbus_windows(struct mv_xor_shared_private *msp, | 1252 | mv_xor_conf_mbus_windows(struct mv_xor_shared_private *msp, |
1253 | struct mbus_dram_target_info *dram) | 1253 | const struct mbus_dram_target_info *dram) |
1254 | { | 1254 | { |
1255 | void __iomem *base = msp->xor_base; | 1255 | void __iomem *base = msp->xor_base; |
1256 | u32 win_enable = 0; | 1256 | u32 win_enable = 0; |
@@ -1264,7 +1264,7 @@ mv_xor_conf_mbus_windows(struct mv_xor_shared_private *msp, | |||
1264 | } | 1264 | } |
1265 | 1265 | ||
1266 | for (i = 0; i < dram->num_cs; i++) { | 1266 | for (i = 0; i < dram->num_cs; i++) { |
1267 | struct mbus_dram_window *cs = dram->cs + i; | 1267 | const struct mbus_dram_window *cs = dram->cs + i; |
1268 | 1268 | ||
1269 | writel((cs->base & 0xffff0000) | | 1269 | writel((cs->base & 0xffff0000) | |
1270 | (cs->mbus_attr << 8) | | 1270 | (cs->mbus_attr << 8) | |
@@ -1290,7 +1290,7 @@ static struct platform_driver mv_xor_driver = { | |||
1290 | 1290 | ||
1291 | static int mv_xor_shared_probe(struct platform_device *pdev) | 1291 | static int mv_xor_shared_probe(struct platform_device *pdev) |
1292 | { | 1292 | { |
1293 | struct mv_xor_platform_shared_data *msd = pdev->dev.platform_data; | 1293 | const struct mbus_dram_target_info *dram; |
1294 | struct mv_xor_shared_private *msp; | 1294 | struct mv_xor_shared_private *msp; |
1295 | struct resource *res; | 1295 | struct resource *res; |
1296 | 1296 | ||
@@ -1323,8 +1323,9 @@ static int mv_xor_shared_probe(struct platform_device *pdev) | |||
1323 | /* | 1323 | /* |
1324 | * (Re-)program MBUS remapping windows if we are asked to. | 1324 | * (Re-)program MBUS remapping windows if we are asked to. |
1325 | */ | 1325 | */ |
1326 | if (msd != NULL && msd->dram != NULL) | 1326 | dram = mv_mbus_dram_info(); |
1327 | mv_xor_conf_mbus_windows(msp, msd->dram); | 1327 | if (dram) |
1328 | mv_xor_conf_mbus_windows(msp, dram); | ||
1328 | 1329 | ||
1329 | return 0; | 1330 | return 0; |
1330 | } | 1331 | } |