diff options
Diffstat (limited to 'arch/ppc/4xx_io/serial_sicc.c')
-rw-r--r-- | arch/ppc/4xx_io/serial_sicc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/ppc/4xx_io/serial_sicc.c b/arch/ppc/4xx_io/serial_sicc.c index 4dc6aa2abfc1..98b25fa0049a 100644 --- a/arch/ppc/4xx_io/serial_sicc.c +++ b/arch/ppc/4xx_io/serial_sicc.c | |||
@@ -1637,9 +1637,8 @@ static struct SICC_info *siccuart_get(int line) | |||
1637 | state->count++; | 1637 | state->count++; |
1638 | if (state->info) | 1638 | if (state->info) |
1639 | return state->info; | 1639 | return state->info; |
1640 | info = kmalloc(sizeof(struct SICC_info), GFP_KERNEL); | 1640 | info = kzalloc(sizeof(struct SICC_info), GFP_KERNEL); |
1641 | if (info) { | 1641 | if (info) { |
1642 | memset(info, 0, sizeof(struct SICC_info)); | ||
1643 | init_waitqueue_head(&info->open_wait); | 1642 | init_waitqueue_head(&info->open_wait); |
1644 | init_waitqueue_head(&info->close_wait); | 1643 | init_waitqueue_head(&info->close_wait); |
1645 | init_waitqueue_head(&info->delta_msr_wait); | 1644 | init_waitqueue_head(&info->delta_msr_wait); |