Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219981
b: refs/heads/master
c: 5f0753b
h: refs/heads/master
i:
  219979: 7f16340
v: v3
  • Loading branch information
Andres Salomon authored and Greg Kroah-Hartman committed Sep 30, 2010
1 parent 339356a commit a751ccc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 316604bef6874bbd2a946fb39a7555b068c44c08
refs/heads/master: 5f0753b8a908dd641144b314d7028af880f376a6
10 changes: 0 additions & 10 deletions trunk/drivers/staging/olpc_dcon/olpc_dcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a751ccc

Please sign in to comment.