Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345011
b: refs/heads/master
c: 24ae36f
h: refs/heads/master
i:
  345009: 316046a
  345007: 7cf3627
v: v3
  • Loading branch information
Peter Ujfalusi authored and Samuel Ortiz committed Nov 21, 2012
1 parent aed60b8 commit ed78442
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: c7b76dce8ac95fd464bfae741b830d407884c274
refs/heads/master: 24ae36f5c285d14f449dd19821aca1097a2a2313
3 changes: 2 additions & 1 deletion trunk/drivers/mfd/twl-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,8 @@ add_children(struct twl4030_platform_data *pdata, unsigned irq_base,
return PTR_ERR(child);
}

if (IS_ENABLED(CONFIG_TWL4030_MADC) && pdata->madc) {
if (IS_ENABLED(CONFIG_TWL4030_MADC) && pdata->madc &&
twl_class_is_4030()) {
child = add_child(2, "twl4030_madc",
pdata->madc, sizeof(*pdata->madc),
true, irq_base + MADC_INTR_OFFSET, 0);
Expand Down

0 comments on commit ed78442

Please sign in to comment.