summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ste_rmi4/Makefile
diff options
context:
space:
mode:
authorLinus Walleij2011-06-30 08:31:59 +0200
committerGreg Kroah-Hartman2011-07-06 05:29:16 +0200
commit857f727674f45157ec9a5d788c8954d9f082acb7 (patch)
treec4dc5b9d13bd38184582d939faa97cdd3ecb40c4 /drivers/staging/ste_rmi4/Makefile
parentstaging: ath6kl: implement testmode rx command (diff)
downloadkernel-qcow2-linux-857f727674f45157ec9a5d788c8954d9f082acb7.tar.gz
kernel-qcow2-linux-857f727674f45157ec9a5d788c8954d9f082acb7.tar.xz
kernel-qcow2-linux-857f727674f45157ec9a5d788c8954d9f082acb7.zip
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>
Diffstat (limited to 'drivers/staging/ste_rmi4/Makefile')
-rw-r--r--drivers/staging/ste_rmi4/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/ste_rmi4/Makefile b/drivers/staging/ste_rmi4/Makefile
index 6cce2ed187ef..176f46900571 100644
--- a/drivers/staging/ste_rmi4/Makefile
+++ b/drivers/staging/ste_rmi4/Makefile
@@ -2,3 +2,4 @@
# Makefile for the RMI4 touchscreen driver.
#
obj-$(CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4) += synaptics_i2c_rmi4.o
+obj-$(CONFIG_MACH_U8500) += board-mop500-u8500uib-rmi4.o