Commit:     5eb03a4ab239d8769fa13df6c894d618ecae1b50
Parent:     0ce85eb8824679cd9e7b3b12202e2bf54f1f3e2c
Author:     Randy Dunlap <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 6 01:39:22 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Feb 6 10:41:16 2008 -0800

    uvesafb: small cleanups
    Some cleanups in uvesafb:
    - The custom module_param() get/set functions don't need to be inlined
      since it is referred to via a pointer in a struct.
    - don't end a #define with a ';'
    - remove one of the single quote marks in "''ypan'"
    Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>
    Cc: "Antonino A. Daplas" <[EMAIL PROTECTED]>
    Cc: Michal Januszewski <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 drivers/video/uvesafb.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/video/uvesafb.c b/drivers/video/uvesafb.c
index a14ef89..be27b9c 100644
--- a/drivers/video/uvesafb.c
+++ b/drivers/video/uvesafb.c
@@ -2003,12 +2003,12 @@ static void __devexit uvesafb_exit(void)
-static inline int param_get_scroll(char *buffer, struct kernel_param *kp)
+static int param_get_scroll(char *buffer, struct kernel_param *kp)
        return 0;
-static inline int param_set_scroll(const char *val, struct kernel_param *kp)
+static int param_set_scroll(const char *val, struct kernel_param *kp)
        ypan = 0;
@@ -2022,11 +2022,11 @@ static inline int param_set_scroll(const char *val, 
struct kernel_param *kp)
        return 0;
-#define param_check_scroll(name, p) __param_check(name, p, void);
+#define param_check_scroll(name, p) __param_check(name, p, void)
 module_param_named(scroll, ypan, scroll, 0);
-       "Scrolling mode, set to 'redraw', ''ypan' or 'ywrap'");
+       "Scrolling mode, set to 'redraw', 'ypan', or 'ywrap'");
 module_param_named(vgapal, pmi_setpal, invbool, 0);
 MODULE_PARM_DESC(vgapal, "Set palette using VGA registers");
 module_param_named(pmipal, pmi_setpal, bool, 0);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to