blob: d5f121a5604be277d8b489dc76d1b9e0ac9d88e6 [file] [log] [blame]
Uwe Kleine-König253ff1f2010-06-15 11:31:02 +02001/*
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
13struct 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önig66384ee2010-06-15 18:14:19 +020016
17#include <mach/mxc_nand.h>
18struct platform_device *__init imx_add_mxc_nand_v1(resource_size_t iobase,
19 int irq, const struct mxc_nand_platform_data *pdata);
20struct platform_device *__init imx_add_mxc_nand_v21(resource_size_t iobase,
21 int irq, const struct mxc_nand_platform_data *pdata);