mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
m68k: amiga - Frame buffer platform device conversion
Signed-off-by: Geert Uytterhoeven <[email protected]>
This commit is contained in:
parent
0d305464ae
commit
fa6688e1c7
2 changed files with 46 additions and 18 deletions
|
|
@ -56,3 +56,18 @@ static int __init amiga_init_bus(void)
|
|||
subsys_initcall(amiga_init_bus);
|
||||
|
||||
#endif /* CONFIG_ZORRO */
|
||||
|
||||
|
||||
static int __init amiga_init_devices(void)
|
||||
{
|
||||
if (!MACH_IS_AMIGA)
|
||||
return -ENODEV;
|
||||
|
||||
/* video hardware */
|
||||
if (AMIGAHW_PRESENT(AMI_VIDEO))
|
||||
platform_device_register_simple("amiga-video", -1, NULL, 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
device_initcall(amiga_init_devices);
|
||||
|
|
|
|||
Loading…
Reference in a new issue