Commit 209852a9 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Russell King

[ARM PATCH] 1948/1: Mainstone compile fix

Patch from Nicolas Pitre

... and a comment fix in bonus
parent 8d8ca816
...@@ -171,9 +171,10 @@ static struct pxafb_mach_info toshiba_ltm035a776c __initdata = { ...@@ -171,9 +171,10 @@ static struct pxafb_mach_info toshiba_ltm035a776c __initdata = {
static void __init mainstone_init(void) static void __init mainstone_init(void)
{ {
platform_add_device(&smc91x_device); platform_device_register(&smc91x_device);
/* reading the BSR might be handy to select LCD type here */ /* reading Mainstone's "Virtual Configuration Register"
might be handy to select LCD type here */
if (0) if (0)
set_pxa_fb_info(&toshiba_ltm04c380k); set_pxa_fb_info(&toshiba_ltm04c380k);
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment