summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2010-08-11 03:02:47 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-11 17:59:12 +0200
commit628a464e5bffd0e9aedaee2a85296be17aa19d90 (patch)
tree2a48af6c73526b73cd4ed9cf02bde78110e1dc2c /drivers
parentdrivers/video/igafb.c: introduce lost 'return' (diff)
downloadlinux-628a464e5bffd0e9aedaee2a85296be17aa19d90.tar.xz
linux-628a464e5bffd0e9aedaee2a85296be17aa19d90.zip
drivers/video/igafb.c: make igafb_setup() and igafb_init() static
Cc: Kulikov Vasiliy <segooon@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/igafb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/igafb.c b/drivers/video/igafb.c
index c4e6fc0301d4..d885c770eb84 100644
--- a/drivers/video/igafb.c
+++ b/drivers/video/igafb.c
@@ -368,7 +368,7 @@ static int __init iga_init(struct fb_info *info, struct iga_par *par)
return 1;
}
-int __init igafb_init(void)
+static int __init igafb_init(void)
{
struct fb_info *info;
struct pci_dev *pdev;
@@ -557,7 +557,7 @@ int __init igafb_init(void)
return 0;
}
-int __init igafb_setup(char *options)
+static int __init igafb_setup(char *options)
{
char *this_opt;