diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 12:45:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 12:45:57 -0400 |
commit | e945e849e18006c131fe59252ab920c6b5f7959c (patch) | |
tree | a86b1a299c5cebed14889fb638cb6808417b5f4a /drivers/video/ffb.c | |
parent | 77a50df2b14c8d3ee3c58c21c4a0e0157570df09 (diff) | |
parent | 194f1a68b93e959ede6ec363db4714e630bdbb6a (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
sparc: video drivers: add facility level
sparc: tcx.c make tcx_init and tcx_exit static
sparc: ffb.c make ffb_init and ffb_exit static
sparc: cg14.c make cg14_init and cg15_exit static
sparc: bw2.c fix bw2_exit
sparc64: Fix accidental syscall restart on child return from clone/fork/vfork.
sparc64: Clean up handling of pt_regs trap type encoding.
sparc: Remove old style signal frame support.
sparc64: Kill bogus RT_ALIGNEDSZ macro from signal.c
sparc: sunzilog.c remove unused argument
sparc: fix drivers/video/tcx.c warning
sparc64: Kill unused local ISA bus layer.
input: Rewrite sparcspkr device probing.
sparc64: Do not ignore 'pmu' device ranges.
sparc64: Kill ISA_FLOPPY_WORKS code.
sparc64: Kill CONFIG_SPARC32_COMPAT
sparc64: Cleanups and corrections for arch/sparc64/Kconfig
sparc64: Fix wedged irq regression.
Diffstat (limited to 'drivers/video/ffb.c')
-rw-r--r-- | drivers/video/ffb.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/video/ffb.c b/drivers/video/ffb.c index d7e24889650..93dca3e2aa5 100644 --- a/drivers/video/ffb.c +++ b/drivers/video/ffb.c | |||
@@ -32,7 +32,6 @@ | |||
32 | static int ffb_setcolreg(unsigned, unsigned, unsigned, unsigned, | 32 | static int ffb_setcolreg(unsigned, unsigned, unsigned, unsigned, |
33 | unsigned, struct fb_info *); | 33 | unsigned, struct fb_info *); |
34 | static int ffb_blank(int, struct fb_info *); | 34 | static int ffb_blank(int, struct fb_info *); |
35 | static void ffb_init_fix(struct fb_info *); | ||
36 | 35 | ||
37 | static void ffb_imageblit(struct fb_info *, const struct fb_image *); | 36 | static void ffb_imageblit(struct fb_info *, const struct fb_image *); |
38 | static void ffb_fillrect(struct fb_info *, const struct fb_fillrect *); | 37 | static void ffb_fillrect(struct fb_info *, const struct fb_fillrect *); |
@@ -1001,7 +1000,7 @@ static int __devinit ffb_probe(struct of_device *op, | |||
1001 | 1000 | ||
1002 | dev_set_drvdata(&op->dev, info); | 1001 | dev_set_drvdata(&op->dev, info); |
1003 | 1002 | ||
1004 | printk("%s: %s at %016lx, type %d, " | 1003 | printk(KERN_INFO "%s: %s at %016lx, type %d, " |
1005 | "DAC pnum[%x] rev[%d] manuf_rev[%d]\n", | 1004 | "DAC pnum[%x] rev[%d] manuf_rev[%d]\n", |
1006 | dp->full_name, | 1005 | dp->full_name, |
1007 | ((par->flags & FFB_FLAG_AFB) ? "AFB" : "FFB"), | 1006 | ((par->flags & FFB_FLAG_AFB) ? "AFB" : "FFB"), |
@@ -1062,7 +1061,7 @@ static struct of_platform_driver ffb_driver = { | |||
1062 | .remove = __devexit_p(ffb_remove), | 1061 | .remove = __devexit_p(ffb_remove), |
1063 | }; | 1062 | }; |
1064 | 1063 | ||
1065 | int __init ffb_init(void) | 1064 | static int __init ffb_init(void) |
1066 | { | 1065 | { |
1067 | if (fb_get_options("ffb", NULL)) | 1066 | if (fb_get_options("ffb", NULL)) |
1068 | return -ENODEV; | 1067 | return -ENODEV; |
@@ -1070,7 +1069,7 @@ int __init ffb_init(void) | |||
1070 | return of_register_driver(&ffb_driver, &of_bus_type); | 1069 | return of_register_driver(&ffb_driver, &of_bus_type); |
1071 | } | 1070 | } |
1072 | 1071 | ||
1073 | void __exit ffb_exit(void) | 1072 | static void __exit ffb_exit(void) |
1074 | { | 1073 | { |
1075 | of_unregister_driver(&ffb_driver); | 1074 | of_unregister_driver(&ffb_driver); |
1076 | } | 1075 | } |