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); |