diff options
Diffstat (limited to 'arch/arm/mach-ixp4xx')
-rw-r--r-- | arch/arm/mach-ixp4xx/dsmg600-setup.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-ixp4xx/ixp4xx_npe.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-ixp4xx/ixp4xx_qmgr.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-ixp4xx/nas100d-setup.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-ixp4xx/nslu2-setup.c | 2 |
5 files changed, 9 insertions, 3 deletions
diff --git a/arch/arm/mach-ixp4xx/dsmg600-setup.c b/arch/arm/mach-ixp4xx/dsmg600-setup.c index 8cb07437a807..a51bfa6978b6 100644 --- a/arch/arm/mach-ixp4xx/dsmg600-setup.c +++ b/arch/arm/mach-ixp4xx/dsmg600-setup.c | |||
@@ -65,7 +65,7 @@ static struct platform_device dsmg600_i2c_gpio = { | |||
65 | 65 | ||
66 | static struct i2c_board_info __initdata dsmg600_i2c_board_info [] = { | 66 | static struct i2c_board_info __initdata dsmg600_i2c_board_info [] = { |
67 | { | 67 | { |
68 | I2C_BOARD_INFO("rtc-pcf8563", 0x51), | 68 | I2C_BOARD_INFO("pcf8563", 0x51), |
69 | }, | 69 | }, |
70 | }; | 70 | }; |
71 | 71 | ||
diff --git a/arch/arm/mach-ixp4xx/ixp4xx_npe.c b/arch/arm/mach-ixp4xx/ixp4xx_npe.c index 83c137ec582c..63a23fa4aab4 100644 --- a/arch/arm/mach-ixp4xx/ixp4xx_npe.c +++ b/arch/arm/mach-ixp4xx/ixp4xx_npe.c | |||
@@ -448,7 +448,9 @@ int npe_send_message(struct npe *npe, const void *msg, const char *what) | |||
448 | return -ETIMEDOUT; | 448 | return -ETIMEDOUT; |
449 | } | 449 | } |
450 | 450 | ||
451 | #if DEBUG_MSG > 1 | ||
451 | debug_msg(npe, "Sending a message took %i cycles\n", cycles); | 452 | debug_msg(npe, "Sending a message took %i cycles\n", cycles); |
453 | #endif | ||
452 | return 0; | 454 | return 0; |
453 | } | 455 | } |
454 | 456 | ||
@@ -484,7 +486,9 @@ int npe_recv_message(struct npe *npe, void *msg, const char *what) | |||
484 | return -ETIMEDOUT; | 486 | return -ETIMEDOUT; |
485 | } | 487 | } |
486 | 488 | ||
489 | #if DEBUG_MSG > 1 | ||
487 | debug_msg(npe, "Receiving a message took %i cycles\n", cycles); | 490 | debug_msg(npe, "Receiving a message took %i cycles\n", cycles); |
491 | #endif | ||
488 | return 0; | 492 | return 0; |
489 | } | 493 | } |
490 | 494 | ||
diff --git a/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c b/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c index e83301325301..fab94eaecee7 100644 --- a/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c +++ b/arch/arm/mach-ixp4xx/ixp4xx_qmgr.c | |||
@@ -184,6 +184,8 @@ void qmgr_release_queue(unsigned int queue) | |||
184 | case 3: mask[0] = 0xFF; break; | 184 | case 3: mask[0] = 0xFF; break; |
185 | } | 185 | } |
186 | 186 | ||
187 | mask[1] = mask[2] = mask[3] = 0; | ||
188 | |||
187 | while (addr--) | 189 | while (addr--) |
188 | shift_mask(mask); | 190 | shift_mask(mask); |
189 | 191 | ||
diff --git a/arch/arm/mach-ixp4xx/nas100d-setup.c b/arch/arm/mach-ixp4xx/nas100d-setup.c index 159e1c4f1eda..84b5e62a9c0a 100644 --- a/arch/arm/mach-ixp4xx/nas100d-setup.c +++ b/arch/arm/mach-ixp4xx/nas100d-setup.c | |||
@@ -54,7 +54,7 @@ static struct platform_device nas100d_flash = { | |||
54 | 54 | ||
55 | static struct i2c_board_info __initdata nas100d_i2c_board_info [] = { | 55 | static struct i2c_board_info __initdata nas100d_i2c_board_info [] = { |
56 | { | 56 | { |
57 | I2C_BOARD_INFO("rtc-pcf8563", 0x51), | 57 | I2C_BOARD_INFO("pcf8563", 0x51), |
58 | }, | 58 | }, |
59 | }; | 59 | }; |
60 | 60 | ||
diff --git a/arch/arm/mach-ixp4xx/nslu2-setup.c b/arch/arm/mach-ixp4xx/nslu2-setup.c index d9a182895a0f..a48a6655b887 100644 --- a/arch/arm/mach-ixp4xx/nslu2-setup.c +++ b/arch/arm/mach-ixp4xx/nslu2-setup.c | |||
@@ -57,7 +57,7 @@ static struct i2c_gpio_platform_data nslu2_i2c_gpio_data = { | |||
57 | 57 | ||
58 | static struct i2c_board_info __initdata nslu2_i2c_board_info [] = { | 58 | static struct i2c_board_info __initdata nslu2_i2c_board_info [] = { |
59 | { | 59 | { |
60 | I2C_BOARD_INFO("rtc-x1205", 0x6f), | 60 | I2C_BOARD_INFO("x1205", 0x6f), |
61 | }, | 61 | }, |
62 | }; | 62 | }; |
63 | 63 | ||