aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/fbmem.c
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2013-08-15 10:12:55 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-08-30 04:44:24 -0400
commit9c29fba12e9657e4effccd124813639e4876971d (patch)
treefb1690a9ec3b5bca4cbeb429b1511077bcd3b237 /drivers/video/fbmem.c
parent9bb40585c9d934db3585e1f422e2ffb1dd5e9631 (diff)
fbmem: move EXPORT_SYMBOL annotation next to symbol declarations
Just a cosmetic thing to bring that file in line with others in the tree. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbmem.c')
-rw-r--r--drivers/video/fbmem.c29
1 files changed, 13 insertions, 16 deletions
diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c
index 36e1fe21b9b5..dacaf74256a3 100644
--- a/drivers/video/fbmem.c
+++ b/drivers/video/fbmem.c
@@ -43,8 +43,12 @@
43#define FBPIXMAPSIZE (1024 * 8) 43#define FBPIXMAPSIZE (1024 * 8)
44 44
45static DEFINE_MUTEX(registration_lock); 45static DEFINE_MUTEX(registration_lock);
46
46struct fb_info *registered_fb[FB_MAX] __read_mostly; 47struct fb_info *registered_fb[FB_MAX] __read_mostly;
48EXPORT_SYMBOL(registered_fb);
49
47int num_registered_fb __read_mostly; 50int num_registered_fb __read_mostly;
51EXPORT_SYMBOL(num_registered_fb);
48 52
49static struct fb_info *get_fb_info(unsigned int idx) 53static struct fb_info *get_fb_info(unsigned int idx)
50{ 54{
@@ -182,6 +186,7 @@ char* fb_get_buffer_offset(struct fb_info *info, struct fb_pixmap *buf, u32 size
182 186
183 return addr; 187 return addr;
184} 188}
189EXPORT_SYMBOL(fb_get_buffer_offset);
185 190
186#ifdef CONFIG_LOGO 191#ifdef CONFIG_LOGO
187 192
@@ -669,6 +674,7 @@ int fb_show_logo(struct fb_info *info, int rotate)
669int fb_prepare_logo(struct fb_info *info, int rotate) { return 0; } 674int fb_prepare_logo(struct fb_info *info, int rotate) { return 0; }
670int fb_show_logo(struct fb_info *info, int rotate) { return 0; } 675int fb_show_logo(struct fb_info *info, int rotate) { return 0; }
671#endif /* CONFIG_LOGO */ 676#endif /* CONFIG_LOGO */
677EXPORT_SYMBOL(fb_show_logo);
672 678
673static void *fb_seq_start(struct seq_file *m, loff_t *pos) 679static void *fb_seq_start(struct seq_file *m, loff_t *pos)
674{ 680{
@@ -909,6 +915,7 @@ fb_pan_display(struct fb_info *info, struct fb_var_screeninfo *var)
909 info->var.vmode &= ~FB_VMODE_YWRAP; 915 info->var.vmode &= ~FB_VMODE_YWRAP;
910 return 0; 916 return 0;
911} 917}
918EXPORT_SYMBOL(fb_pan_display);
912 919
913static int fb_check_caps(struct fb_info *info, struct fb_var_screeninfo *var, 920static int fb_check_caps(struct fb_info *info, struct fb_var_screeninfo *var,
914 u32 activate) 921 u32 activate)
@@ -1042,6 +1049,7 @@ fb_set_var(struct fb_info *info, struct fb_var_screeninfo *var)
1042 done: 1049 done:
1043 return ret; 1050 return ret;
1044} 1051}
1052EXPORT_SYMBOL(fb_set_var);
1045 1053
1046int 1054int
1047fb_blank(struct fb_info *info, int blank) 1055fb_blank(struct fb_info *info, int blank)
@@ -1073,6 +1081,7 @@ fb_blank(struct fb_info *info, int blank)
1073 1081
1074 return ret; 1082 return ret;
1075} 1083}
1084EXPORT_SYMBOL(fb_blank);
1076 1085
1077static long do_fb_ioctl(struct fb_info *info, unsigned int cmd, 1086static long do_fb_ioctl(struct fb_info *info, unsigned int cmd,
1078 unsigned long arg) 1087 unsigned long arg)
@@ -1745,6 +1754,7 @@ register_framebuffer(struct fb_info *fb_info)
1745 1754
1746 return ret; 1755 return ret;
1747} 1756}
1757EXPORT_SYMBOL(register_framebuffer);
1748 1758
1749/** 1759/**
1750 * unregister_framebuffer - releases a frame buffer device 1760 * unregister_framebuffer - releases a frame buffer device
@@ -1773,6 +1783,7 @@ unregister_framebuffer(struct fb_info *fb_info)
1773 1783
1774 return ret; 1784 return ret;
1775} 1785}
1786EXPORT_SYMBOL(unregister_framebuffer);
1776 1787
1777/** 1788/**
1778 * fb_set_suspend - low level driver signals suspend 1789 * fb_set_suspend - low level driver signals suspend
@@ -1796,6 +1807,7 @@ void fb_set_suspend(struct fb_info *info, int state)
1796 fb_notifier_call_chain(FB_EVENT_RESUME, &event); 1807 fb_notifier_call_chain(FB_EVENT_RESUME, &event);
1797 } 1808 }
1798} 1809}
1810EXPORT_SYMBOL(fb_set_suspend);
1799 1811
1800/** 1812/**
1801 * fbmem_init - init frame buffer subsystem 1813 * fbmem_init - init frame buffer subsystem
@@ -1912,6 +1924,7 @@ int fb_get_options(const char *name, char **option)
1912 1924
1913 return retval; 1925 return retval;
1914} 1926}
1927EXPORT_SYMBOL(fb_get_options);
1915 1928
1916#ifndef MODULE 1929#ifndef MODULE
1917/** 1930/**
@@ -1959,20 +1972,4 @@ static int __init video_setup(char *options)
1959__setup("video=", video_setup); 1972__setup("video=", video_setup);
1960#endif 1973#endif
1961 1974
1962 /*
1963 * Visible symbols for modules
1964 */
1965
1966EXPORT_SYMBOL(register_framebuffer);
1967EXPORT_SYMBOL(unregister_framebuffer);
1968EXPORT_SYMBOL(num_registered_fb);
1969EXPORT_SYMBOL(registered_fb);
1970EXPORT_SYMBOL(fb_show_logo);
1971EXPORT_SYMBOL(fb_set_var);
1972EXPORT_SYMBOL(fb_blank);
1973EXPORT_SYMBOL(fb_pan_display);
1974EXPORT_SYMBOL(fb_get_buffer_offset);
1975EXPORT_SYMBOL(fb_set_suspend);
1976EXPORT_SYMBOL(fb_get_options);
1977
1978MODULE_LICENSE("GPL"); 1975MODULE_LICENSE("GPL");