ARM: sa11x0: convert set_xxx_data() to register_xxx()
Only register devices if we have platform data for those which require platform data. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Este cometimento está contido em:
@@ -187,7 +187,7 @@ static struct resource hackkit_flash_resource = {
|
||||
|
||||
static void __init hackkit_init(void)
|
||||
{
|
||||
sa11x0_set_flash_data(&hackkit_flash_data, &hackkit_flash_resource, 1);
|
||||
sa11x0_register_mtd(&hackkit_flash_data, &hackkit_flash_resource, 1);
|
||||
}
|
||||
|
||||
/**********************************************************************
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador