]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/arm/mach-mx5/devices-imx51.h
ARM: mx5: dynamically register imx-i2c devices
[net-next-2.6.git] / arch / arm / mach-mx5 / devices-imx51.h
CommitLineData
44505c07
UKK
1/*
2 * Copyright (C) 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 <mach/mx51.h>
10#include <mach/devices-common.h>
11
12extern const struct imx_imx_i2c_data imx51_imx_i2c_data[] __initconst;
13#define imx51_add_imx_i2c(id, pdata) \
14 imx_add_imx_i2c(&imx51_imx_i2c_data[id], pdata)