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>
This commit is contained in:
Dmitry Baryshkov 2008-07-29 01:30:26 +02:00 committed by Samuel Ortiz
parent 56edb58be1
commit 424f525a12
3 changed files with 11 additions and 11 deletions

View file

@ -45,11 +45,11 @@ struct mfd_cell {
const struct resource *resources;
};
extern int mfd_add_devices(struct platform_device *parent,
extern int mfd_add_devices(struct device *parent, int id,
const struct mfd_cell *cells, int n_devs,
struct resource *mem_base,
int irq_base);
extern void mfd_remove_devices(struct platform_device *parent);
extern void mfd_remove_devices(struct device *parent);
#endif