Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318269
b: refs/heads/master
c: 03ecd22
h: refs/heads/master
i:
  318267: dd090fe
v: v3
  • Loading branch information
Lee Jones authored and Dmitry Torokhov committed Jun 12, 2012
1 parent 6548dac commit 2b78398
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4eceb14f669cb9e9d189019e8fcbf73577fe77a7
refs/heads/master: 03ecd229a5d05a5c62e7262d66ec6cd57d5eca6c
9 changes: 9 additions & 0 deletions trunk/drivers/input/misc/ab8500-ponkey.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include <linux/input.h>
#include <linux/interrupt.h>
#include <linux/mfd/abx500/ab8500.h>
#include <linux/of.h>
#include <linux/slab.h>

/**
Expand Down Expand Up @@ -131,10 +132,18 @@ static int __devexit ab8500_ponkey_remove(struct platform_device *pdev)
return 0;
}

#ifdef CONFIG_OF
static const struct of_device_id ab8500_ponkey_match[] = {
{ .compatible = "stericsson,ab8500-ponkey", },
{}
};
#endif

static struct platform_driver ab8500_ponkey_driver = {
.driver = {
.name = "ab8500-poweron-key",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(ab8500_ponkey_match),
},
.probe = ab8500_ponkey_probe,
.remove = __devexit_p(ab8500_ponkey_remove),
Expand Down

0 comments on commit 2b78398

Please sign in to comment.