Uwe Kleine-König | 253ff1f | 2010-06-15 11:31:02 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2009-2010 Pengutronix |
| 3 | * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify it under |
| 6 | * the terms of the GNU General Public License version 2 as published by the |
| 7 | * Free Software Foundation. |
| 8 | */ |
| 9 | #include <linux/kernel.h> |
| 10 | #include <linux/platform_device.h> |
| 11 | #include <linux/init.h> |
| 12 | |
| 13 | struct platform_device *imx_add_platform_device(const char *name, int id, |
| 14 | const struct resource *res, unsigned int num_resources, |
| 15 | const void *data, size_t size_data); |
Uwe Kleine-König | 66384ee | 2010-06-15 18:14:19 +0200 | [diff] [blame] | 16 | |
| 17 | #include <mach/mxc_nand.h> |
| 18 | struct platform_device *__init imx_add_mxc_nand_v1(resource_size_t iobase, |
| 19 | int irq, const struct mxc_nand_platform_data *pdata); |
| 20 | struct platform_device *__init imx_add_mxc_nand_v21(resource_size_t iobase, |
| 21 | int irq, const struct mxc_nand_platform_data *pdata); |