Re: Apollo framebuffer sysfs

From: Geert Uytterhoeven
Date: Tue Feb 24 2004 - 03:36:19 EST


On Mon, 23 Feb 2004, James Simmons wrote:
> > Wow, the first platform_device on m68k ;-)
>
> :-)
>
> Merged with my patch. This patch is against linus tree. Please test.
>
>
> --- linus-2.6/drivers/video/dnfb.c 2004-02-18 20:59:07.000000000 -0800
> +++ fbdev-2.6/drivers/video/dnfb.c 2004-02-22 21:17:16.000000000 -0800

You missed these:
- Kill space at end of line
- Kill unneeded initialization

--- linux/drivers/video/dnfb.c.orig 2004-02-24 09:28:19.000000000 +0100
+++ linux/drivers/video/dnfb.c 2004-02-23 20:59:20.000000000 +0100
@@ -246,7 +246,7 @@
framebuffer_release(info);
return err;
}
-
+
err = register_framebuffer(info);
if (err < 0) {
fb_dealloc_cmap(&info->cmap);
@@ -275,7 +275,6 @@

static struct platform_device dnfb_device = {
.name = "dnfb",
- .id = 0,
};

int __init dnfb_init(void)

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/