Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361342
b: refs/heads/master
c: 34ccd87
h: refs/heads/master
v: v3
  • Loading branch information
Johan Hovold authored and Greg Kroah-Hartman committed Mar 12, 2013
1 parent 3272ed1 commit 3c4dcff
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 01230551e7c2fb9a1c2519b356d703851049cbe0
refs/heads/master: 34ccd8738e34180af34544d2bdd053e60e44a224
2 changes: 2 additions & 0 deletions trunk/drivers/w1/masters/w1-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,13 @@ static u8 w1_gpio_read_bit(void *data)
return gpio_get_value(pdata->pin) ? 1 : 0;
}

#if defined(CONFIG_OF)
static struct of_device_id w1_gpio_dt_ids[] = {
{ .compatible = "w1-gpio" },
{}
};
MODULE_DEVICE_TABLE(of, w1_gpio_dt_ids);
#endif

static int w1_gpio_probe_dt(struct platform_device *pdev)
{
Expand Down

0 comments on commit 3c4dcff

Please sign in to comment.