git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
intel-iommu: Fix 32-bit build warning with __cmpxchg()
[pandora-kernel.git]
/
drivers
/
mfd
/
mc13783-core.c
diff --git
a/drivers/mfd/mc13783-core.c
b/drivers/mfd/mc13783-core.c
index
1f68eca
..
fecf38a
100644
(file)
--- a/
drivers/mfd/mc13783-core.c
+++ b/
drivers/mfd/mc13783-core.c
@@
-679,6
+679,10
@@
err_revision:
if (pdata->flags & MC13783_USE_TOUCHSCREEN)
mc13783_add_subdevice(mc13783, "mc13783-ts");
+ if (pdata->flags & MC13783_USE_LED)
+ mc13783_add_subdevice_pdata(mc13783, "mc13783-led",
+ pdata->leds, sizeof(*pdata->leds));
+
return 0;
}