aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-u300
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-12-20 10:21:54 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-20 10:21:54 -0500
commit1ffab3d4139533eff6e27b7568825307e575faa6 (patch)
treeeca25b2ef6b9b7c8168625c2a5dea6b08fd37756 /arch/arm/mach-u300
parentddedec28b1d5144bc2c765d97003997f3505fd3a (diff)
parent4d1839138220e7e35bf9e31c854e4e0196dea7a1 (diff)
Merge tag 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC fixes from Olof Johansson: "This is a batch of fixes for arm-soc platforms, most of it is for OMAP but there are others too (i.MX, Tegra, ep93xx). Fixes warnings, some broken platforms and drivers, etc. A bit all over the map really." There was some concern about commit 68136b10 ("RM: sunxi: Change device tree naming scheme for sunxi"), but Tony says: "Looks like that's trivial to fix as needed, no need to rebuild the branch to fix that AFAIK. The fix can be done once Olof is available online again. Linus, I suggest that you go ahead and pull this if there are no other issues with this branch." * tag 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (32 commits) ARM: sunxi: Change device tree naming scheme for sunxi ARM: ux500: fix missing include ARM: u300: delete custom pin hog code ARM: davinci: fix build break due to missing include ARM: exynos: Fix warning due to missing 'inline' in stub ARM: imx: Move platform-mx2-emma to arch/arm/mach-imx/devices ARM i.MX51 clock: Fix regression since enabling MIPI/HSP clocks ARM: dts: mx27: Fix the AIPI bus for FEC ARM: OMAP2+: common: remove use of vram ARM: OMAP3/4: cpuidle: fix sparse and checkpatch warnings ARM: OMAP4: clock data: DPLLs are missing bypass clocks in their parent lists ARM: OMAP4: clock data: div_iva_hs_clk is a power-of-two divider ARM: OMAP4: Fix EMU clock domain always on ARM: OMAP4460: Workaround ABE DPLL failing to turn-on ARM: OMAP4: Enhance support for DPLLs with 4X multiplier ARM: OMAP4: Add function table for non-M4X dplls ARM: OMAP4: Update timer clock aliases ARM: OMAP: Move plat/omap-serial.h to include/linux/platform_data/serial-omap.h ARM: dts: Add build target for omap4-panda-a4 ARM: dts: OMAP2420: Correct H4 board memory size ...
Diffstat (limited to 'arch/arm/mach-u300')
-rw-r--r--arch/arm/mach-u300/core.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c
index 8b204ae69002..4ce77cdc31cc 100644
--- a/arch/arm/mach-u300/core.c
+++ b/arch/arm/mach-u300/core.c
@@ -27,7 +27,6 @@
27#include <linux/mtd/nand.h> 27#include <linux/mtd/nand.h>
28#include <linux/mtd/fsmc.h> 28#include <linux/mtd/fsmc.h>
29#include <linux/pinctrl/machine.h> 29#include <linux/pinctrl/machine.h>
30#include <linux/pinctrl/consumer.h>
31#include <linux/pinctrl/pinconf-generic.h> 30#include <linux/pinctrl/pinconf-generic.h>
32#include <linux/dma-mapping.h> 31#include <linux/dma-mapping.h>
33#include <linux/platform_data/clk-u300.h> 32#include <linux/platform_data/clk-u300.h>
@@ -1553,39 +1552,6 @@ static struct pinctrl_map __initdata u300_pinmux_map[] = {
1553 pin_highz_conf), 1552 pin_highz_conf),
1554}; 1553};
1555 1554
1556struct u300_mux_hog {
1557 struct device *dev;
1558 struct pinctrl *p;
1559};
1560
1561static struct u300_mux_hog u300_mux_hogs[] = {
1562 {
1563 .dev = &uart0_device.dev,
1564 },
1565 {
1566 .dev = &mmcsd_device.dev,
1567 },
1568};
1569
1570static int __init u300_pinctrl_fetch(void)
1571{
1572 int i;
1573
1574 for (i = 0; i < ARRAY_SIZE(u300_mux_hogs); i++) {
1575 struct pinctrl *p;
1576
1577 p = pinctrl_get_select_default(u300_mux_hogs[i].dev);
1578 if (IS_ERR(p)) {
1579 pr_err("u300: could not get pinmux hog for dev %s\n",
1580 dev_name(u300_mux_hogs[i].dev));
1581 continue;
1582 }
1583 u300_mux_hogs[i].p = p;
1584 }
1585 return 0;
1586}
1587subsys_initcall(u300_pinctrl_fetch);
1588
1589/* 1555/*
1590 * Notice that AMBA devices are initialized before platform devices. 1556 * Notice that AMBA devices are initialized before platform devices.
1591 * 1557 *