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
mfd: Copy the device pointer to the twl4030-madc structure
[pandora-kernel.git]
/
drivers
/
mfd
/
twl4030-madc.c
diff --git
a/drivers/mfd/twl4030-madc.c
b/drivers/mfd/twl4030-madc.c
index
b5d598c
..
cb44b53
100644
(file)
--- a/
drivers/mfd/twl4030-madc.c
+++ b/
drivers/mfd/twl4030-madc.c
@@
-706,6
+706,8
@@
static int __devinit twl4030_madc_probe(struct platform_device *pdev)
if (!madc)
return -ENOMEM;
+ madc->dev = &pdev->dev;
+
/*
* Phoenix provides 2 interrupt lines. The first one is connected to
* the OMAP. The other one can be connected to the other processor such