]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl/nomadik: provide stubs for legacy Nomadik
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 11 Oct 2012 12:33:42 +0000 (14:33 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 15 Oct 2012 07:09:27 +0000 (09:09 +0200)
commitd356db578e66a96ec8f92144a0c4e2026f87e5fe
tree846109e12af01995ad62df4ce4a4c1559a60d4ad
parent4008a79985f8fab46b7e87d7eb8b76adde93b6b7
pinctrl/nomadik: provide stubs for legacy Nomadik

The compilation of the pinctrl driver failed on the legacy
Nomadik NHK8815 platform because it was not providing the PRCMU
interfaces needed to support the extended alternate functions
used by the ux500 series.

Solve this by providing some stubs for the legacy platform, to
avoid too much #ifdefs in the code per se. Theoretically this
actually allows the Nomadik and Ux500 to have a single kernel
image with support for the PRCM registers on the Ux500 (though
they have incompatible archs, but the spirit is there).

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-nomadik.c