提交 5f0753b8 编写于 作者: A Andres Salomon 提交者: Greg Kroah-Hartman

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: NAndres Salomon <dilinger@queued.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 316604be
...@@ -869,21 +869,11 @@ static struct i2c_driver dcon_driver = { ...@@ -869,21 +869,11 @@ static struct i2c_driver dcon_driver = {
#endif #endif
}; };
#if defined(CONFIG_OLPC_XO_1)
#include "olpc_dcon_xo_1.c" #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) static int __init olpc_dcon_init(void)
{ {
#ifdef CONFIG_OLPC_XO_1
pdata = &dcon_pdata_xo_1; pdata = &dcon_pdata_xo_1;
#else
pdata = &dcon_pdata_xo_1_5;
#endif
i2c_add_driver(&dcon_driver); i2c_add_driver(&dcon_driver);
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册