Re: [PATCH] drivers/video/gbefb.c

From: Andrew Morton
Date: Wed Nov 17 2004 - 23:00:46 EST


Giuseppe Sacco <giuseppe@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> The current gbefb.c source cannot be compiled as module because of a
> small typo where "option" was written instead of "options" in two
> places.
>
> Here is a small patch that fixes it. May anyone apply it?

Yup, I can take care of that, thanks.

In future, please use `diff -u' to generate `patch -p1' form patches. Like
this:

--- 25/drivers/video/gbefb.c
+++ 25-akpm/drivers/video/gbefb.c
@@ -1084,9 +1084,9 @@ int __init gbefb_init(void)
int i, ret = 0;

#ifndef MODULE
- char *option = NULL;
+ char *options = NULL;

- if (fb_get_options("gbefb", &option))
+ if (fb_get_options("gbefb", &options))
return -ENODEV;
gbefb_setup(options);
#endif
_

-
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/