summaryrefslogtreecommitdiff
path: root/drivers/net/ethoc.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2011-02-23 00:56:50 +0300
committerGrant Likely <grant.likely@secretlab.ca>2011-02-23 00:57:00 +0300
commit9bde36afcaf0ec2ad9f03974da41875c759a4fe8 (patch)
tree5b6f2fd6c86d5dadaf427c302ed35f738c2be55b /drivers/net/ethoc.c
parentf020c39e51b1ef8389d5cf38190d32f55ff9d556 (diff)
parentc9e358dfc4a8cb2227172ef77908c2e0ee17bcb9 (diff)
downloadlinux-9bde36afcaf0ec2ad9f03974da41875c759a4fe8.tar.xz
Merge branch 'devicetree/next' into spi/next
To pick up removal of #ifdef around .of_match_table
Diffstat (limited to 'drivers/net/ethoc.c')
-rw-r--r--drivers/net/ethoc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/net/ethoc.c b/drivers/net/ethoc.c
index b79d7e1555d5..db0290f05bdf 100644
--- a/drivers/net/ethoc.c
+++ b/drivers/net/ethoc.c
@@ -1163,15 +1163,11 @@ static int ethoc_resume(struct platform_device *pdev)
# define ethoc_resume NULL
#endif
-#ifdef CONFIG_OF
static struct of_device_id ethoc_match[] = {
- {
- .compatible = "opencores,ethoc",
- },
+ { .compatible = "opencores,ethoc", },
{},
};
MODULE_DEVICE_TABLE(of, ethoc_match);
-#endif
static struct platform_driver ethoc_driver = {
.probe = ethoc_probe,
@@ -1181,9 +1177,7 @@ static struct platform_driver ethoc_driver = {
.driver = {
.name = "ethoc",
.owner = THIS_MODULE,
-#ifdef CONFIG_OF
.of_match_table = ethoc_match,
-#endif
},
};