Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321605
b: refs/heads/master
c: f43e04e
h: refs/heads/master
i:
  321603: 7bdb4fc
v: v3
  • Loading branch information
Arnd Bergmann authored and Linus Torvalds committed Aug 14, 2012
1 parent 0967d8e commit 2efe221
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 3bf671af14d591ede9251acb0085e8017f3705e7
refs/heads/master: f43e04ec46b67071d432fc3f368dc9891a3443e5
4 changes: 2 additions & 2 deletions trunk/drivers/gpio/gpio-pxa.c
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ static int pxa_gpio_nums(void)
return count;
}

#ifdef CONFIG_OF
static struct of_device_id pxa_gpio_dt_ids[] = {
{ .compatible = "mrvl,pxa-gpio" },
{ .compatible = "mrvl,mmp-gpio", .data = (void *)MMP_GPIO },
Expand All @@ -532,7 +533,6 @@ const struct irq_domain_ops pxa_irq_domain_ops = {
.xlate = irq_domain_xlate_twocell,
};

#ifdef CONFIG_OF
static int __devinit pxa_gpio_probe_dt(struct platform_device *pdev)
{
int ret, nr_banks, nr_gpios, irq_base;
Expand Down Expand Up @@ -679,7 +679,7 @@ static struct platform_driver pxa_gpio_driver = {
.probe = pxa_gpio_probe,
.driver = {
.name = "pxa-gpio",
.of_match_table = pxa_gpio_dt_ids,
.of_match_table = of_match_ptr(pxa_gpio_dt_ids),
},
};

Expand Down

0 comments on commit 2efe221

Please sign in to comment.