Fix typo in generic.c
The device init function has the name of one of my board (comBoard). This patch fix the name of the function to generic_device_init. Signed-off-by: Franck JULLIEN <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
793b74bc77
commit
e0a13e2242
|
@ -48,7 +48,7 @@ static struct device_d epcs_flash_device = {
|
||||||
};
|
};
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static int comBoard_devices_init(void)
|
static int generic_devices_init(void)
|
||||||
{
|
{
|
||||||
register_device(&cfi_dev);
|
register_device(&cfi_dev);
|
||||||
register_device(&ram_dev);
|
register_device(&ram_dev);
|
||||||
|
@ -63,7 +63,7 @@ static int comBoard_devices_init(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
device_initcall(comBoard_devices_init);
|
device_initcall(generic_devices_init);
|
||||||
|
|
||||||
|
|
||||||
static int altera_console_init(void)
|
static int altera_console_init(void)
|
||||||
|
|
Loading…
Reference in New Issue