ARM: sa1100: explicitly register sa11x0-pcmcia devices
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 28 Nov 2018 13:57:23 +0000 (13:57 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 4 Dec 2018 22:37:38 +0000 (22:37 +0000)
commitd66a2fb8d7b0a103f5d6884ff9db895959bf0924
tree29fc1fcf0ae320596579e724cccbe9ae08acbb90
parent651022382c7f8da46cb4872a545ee1da6d097d2a
ARM: sa1100: explicitly register sa11x0-pcmcia devices

Simplify the code by getting rid of the conditional automatic
registration of the sa11x0 PCMCIA interfaces in sa1100_init(), and
require all platforms to explicitly call sa11x0_register_pcmcia().
Only one platform (iPAQ) is affected by this change.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mach-sa1100/generic.c
arch/arm/mach-sa1100/h3100.c