diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-09-30 10:44:53 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-01 03:32:05 -0400 |
commit | 44505c0768971f4aa94ca09c8155448a46a7ff8a (patch) | |
tree | c2ce5c93554182d73eaa95972c4ba9a7cff646a7 /arch/arm/mach-mx5/devices-imx51.h | |
parent | 64de5ec168d9743903e6ec482c3e9f37af49f9c1 (diff) |
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 @@ | |||
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 | |||
12 | extern 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) | ||