staging: ste_rmi4: remove cross-dependent platform data
commit857f727674f45157ec9a5d788c8954d9f082acb7
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 30 Jun 2011 06:31:59 +0000 (30 08:31 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jul 2011 03:29:16 +0000 (5 20:29 -0700)
treec4dc5b9d13bd38184582d939faa97cdd3ecb40c4
parent6977a271d45951b8e7ed5eb8caf659fbd69ee365
staging: ste_rmi4: remove cross-dependent platform data

The ux500 machine was actually defining platform data for the
staging driver ste_rmi4, which is not OK. Let us instead define
some __weak platform data in the machine so that the staging
driver can override it at compile-time and we can thus have the
driver self-contained in staging.

Reported-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/mach-ux500/board-mop500-u8500uib.c
drivers/staging/ste_rmi4/Makefile
drivers/staging/ste_rmi4/board-mop500-u8500uib-rmi4.c [new file with mode: 0644]