diff options
| author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-07-28 19:30:26 -0400 |
|---|---|---|
| committer | Samuel Ortiz <sameo@openedhand.com> | 2008-07-28 19:30:26 -0400 |
| commit | 424f525a1241351da947fb48a938128ddd774511 (patch) | |
| tree | e837c0f6b15a3efe38bb0aa3db5a46305e5a9f38 /include/linux/mfd | |
| parent | 56edb58be157a06dc147a988af3588059556d392 (diff) | |
mfd: accept pure device as a parent, not only platform_device
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h index ea45d4a5a2ac..49ef857cdb2d 100644 --- a/include/linux/mfd/core.h +++ b/include/linux/mfd/core.h | |||
| @@ -45,11 +45,11 @@ struct mfd_cell { | |||
| 45 | const struct resource *resources; | 45 | const struct resource *resources; |
| 46 | }; | 46 | }; |
| 47 | 47 | ||
| 48 | extern int mfd_add_devices(struct platform_device *parent, | 48 | extern int mfd_add_devices(struct device *parent, int id, |
| 49 | const struct mfd_cell *cells, int n_devs, | 49 | const struct mfd_cell *cells, int n_devs, |
| 50 | struct resource *mem_base, | 50 | struct resource *mem_base, |
| 51 | int irq_base); | 51 | int irq_base); |
| 52 | 52 | ||
| 53 | extern void mfd_remove_devices(struct platform_device *parent); | 53 | extern void mfd_remove_devices(struct device *parent); |
| 54 | 54 | ||
| 55 | #endif | 55 | #endif |
