diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-09-30 16:44:53 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-01 09:32:05 +0200 |
commit | 44505c0768971f4aa94ca09c8155448a46a7ff8a (patch) | |
tree | c2ce5c93554182d73eaa95972c4ba9a7cff646a7 /arch/arm/mach-mx5/devices-imx51.h | |
parent | 64de5ec168d9743903e6ec482c3e9f37af49f9c1 (diff) | |
download | linux-44505c0768971f4aa94ca09c8155448a46a7ff8a.tar.gz |
ARM: mx5: dynamically register imx-i2c devices
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/devices-imx51.h')
-rw-r--r-- | arch/arm/mach-mx5/devices-imx51.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/devices-imx51.h b/arch/arm/mach-mx5/devices-imx51.h new file mode 100644 index 000000000000..a3cc3834c9fe --- /dev/null +++ b/arch/arm/mach-mx5/devices-imx51.h @@ -0,0 +1,14 @@ +/* + * Copyright (C) 2010 Pengutronix + * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License version 2 as published by the + * Free Software Foundation. + */ +#include <mach/mx51.h> +#include <mach/devices-common.h> + +extern const struct imx_imx_i2c_data imx51_imx_i2c_data[] __initconst; +#define imx51_add_imx_i2c(id, pdata) \ + imx_add_imx_i2c(&imx51_imx_i2c_data[id], pdata) |