aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/olpc_dcon/olpc_dcon.c
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2010-09-24 19:14:38 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-29 18:02:50 -0700
commit5f0753b8a908dd641144b314d7028af880f376a6 (patch)
treee9c1c018eb2ba47712a44984192970c3dff651ed /drivers/staging/olpc_dcon/olpc_dcon.c
parent316604bef6874bbd2a946fb39a7555b068c44c08 (diff)
downloadkernel_samsung_smdk4412-5f0753b8a908dd641144b314d7028af880f376a6.zip
kernel_samsung_smdk4412-5f0753b8a908dd641144b314d7028af880f376a6.tar.gz
kernel_samsung_smdk4412-5f0753b8a908dd641144b314d7028af880f376a6.tar.bz2
staging: olpc_dcon: drop XO-1.5 support for now
The vx855 stuff isn't upstream yet; for now, drop support for XO-1.5. This will come back once the 1.5 code is in place (and will be in a form that allows both 1.0 and 1.5 support to be compiled in at the same time), but for now just remove it. This is necessary to get the driver building. Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/olpc_dcon/olpc_dcon.c')
-rw-r--r--drivers/staging/olpc_dcon/olpc_dcon.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/olpc_dcon/olpc_dcon.c b/drivers/staging/olpc_dcon/olpc_dcon.c
index 02a4502..808273d 100644
--- a/drivers/staging/olpc_dcon/olpc_dcon.c
+++ b/drivers/staging/olpc_dcon/olpc_dcon.c
@@ -869,21 +869,11 @@ static struct i2c_driver dcon_driver = {
#endif
};
-#if defined(CONFIG_OLPC_XO_1)
#include "olpc_dcon_xo_1.c"
-#elif defined(CONFIG_OLPC_XO_1_5)
-#include "olpc_dcon_xo_1_5.c"
-#else
-#error "Trying to build OLPC DCON driver but kernel not configured for XO"
-#endif
static int __init olpc_dcon_init(void)
{
-#ifdef CONFIG_OLPC_XO_1
pdata = &dcon_pdata_xo_1;
-#else
- pdata = &dcon_pdata_xo_1_5;
-#endif
i2c_add_driver(&dcon_driver);
return 0;