Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201640
b: refs/heads/master
c: 2b92084
h: refs/heads/master
v: v3
  • Loading branch information
Uwe Kleine-König committed Jun 30, 2010
1 parent a9bbfb2 commit d84bd6d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6348e6b54e8609be11826a8e30357a03ba201500
refs/heads/master: 2b92084f75c74a5496380833cb60185985959ec6
3 changes: 3 additions & 0 deletions trunk/arch/arm/mach-imx/devices-imx21.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@
#include <mach/mx21.h>
#include <mach/devices-common.h>

#define imx21_add_i2c_imx(pdata) \
imx_add_imx_i2c(0, MX2x_I2C_BASE_ADDR, SZ_4K, MX2x_INT_I2C, pdata)

#define imx21_add_mxc_nand(pdata) \
imx_add_mxc_nand_v1(MX21_NFC_BASE_ADDR, MX21_INT_NANDFC, pdata)
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-imx/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ struct platform_device mxc_fec_device = {
};
#endif

#ifdef CONFIG_MACH_MX27
#define DEFINE_IMX_I2C_DEVICE(n, baseaddr, irq) \
static struct resource mxc_i2c_resources ## n[] = { \
{ \
Expand All @@ -390,7 +391,6 @@ struct platform_device mxc_fec_device = {

DEFINE_IMX_I2C_DEVICE(0, MX2x_I2C_BASE_ADDR, MX2x_INT_I2C);

#ifdef CONFIG_MACH_MX27
DEFINE_IMX_I2C_DEVICE(1, MX27_I2C2_BASE_ADDR, MX27_INT_I2C2);
#endif

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-imx/devices.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ extern struct platform_device mxc_w1_master_device;
extern struct platform_device mxc_fb_device;
extern struct platform_device mxc_fec_device;
extern struct platform_device mxc_pwm_device;
extern struct platform_device mxc_i2c_device0;
#ifdef CONFIG_MACH_MX27
extern struct platform_device mxc_i2c_device0;
extern struct platform_device mxc_i2c_device1;
#endif
extern struct platform_device mxc_sdhc_device0;
Expand Down

0 comments on commit d84bd6d

Please sign in to comment.