avr32: data param to at32_add_device_mci() must be non-NULL
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Mon, 5 Jan 2009 16:14:22 +0000 (17:14 +0100)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Mon, 5 Jan 2009 16:14:22 +0000 (17:14 +0100)
commit4209324a74fd234fa44bb18a3331356e41df773a
tree63152c5482ceb45f1440a8c0659b191ee905eaf3
parent0e490050902adaca9b30275ec9a544a786bf2db8
avr32: data param to at32_add_device_mci() must be non-NULL

at32_add_device_mci() will refuse to add the mci device if the data
parameter is NULL. Fix up the favr-32 and hammerhead boards so that this
doesn't happen.

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Cc: Alex Raimondi <mailinglist@miromico.ch>
Cc: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
arch/avr32/boards/favr-32/setup.c
arch/avr32/boards/hammerhead/setup.c