diff options
| author | Daniel Mack <zonque@gmail.com> | 2013-08-15 10:12:55 -0400 |
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-08-30 04:44:24 -0400 |
| commit | 9c29fba12e9657e4effccd124813639e4876971d (patch) | |
| tree | fb1690a9ec3b5bca4cbeb429b1511077bcd3b237 /drivers/video | |
| parent | 9bb40585c9d934db3585e1f422e2ffb1dd5e9631 (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')
| -rw-r--r-- | drivers/video/fbmem.c | 29 |
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 | ||
| 45 | static DEFINE_MUTEX(registration_lock); | 45 | static DEFINE_MUTEX(registration_lock); |
| 46 | |||
| 46 | struct fb_info *registered_fb[FB_MAX] __read_mostly; | 47 | struct fb_info *registered_fb[FB_MAX] __read_mostly; |
| 48 | EXPORT_SYMBOL(registered_fb); | ||
| 49 | |||
| 47 | int num_registered_fb __read_mostly; | 50 | int num_registered_fb __read_mostly; |
| 51 | EXPORT_SYMBOL(num_registered_fb); | ||
| 48 | 52 | ||
| 49 | static struct fb_info *get_fb_info(unsigned int idx) | 53 | static 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 | } |
| 189 | EXPORT_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) | |||
| 669 | int fb_prepare_logo(struct fb_info *info, int rotate) { return 0; } | 674 | int fb_prepare_logo(struct fb_info *info, int rotate) { return 0; } |
| 670 | int fb_show_logo(struct fb_info *info, int rotate) { return 0; } | 675 | int fb_show_logo(struct fb_info *info, int rotate) { return 0; } |
| 671 | #endif /* CONFIG_LOGO */ | 676 | #endif /* CONFIG_LOGO */ |
| 677 | EXPORT_SYMBOL(fb_show_logo); | ||
| 672 | 678 | ||
| 673 | static void *fb_seq_start(struct seq_file *m, loff_t *pos) | 679 | static 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 | } |
| 918 | EXPORT_SYMBOL(fb_pan_display); | ||
| 912 | 919 | ||
| 913 | static int fb_check_caps(struct fb_info *info, struct fb_var_screeninfo *var, | 920 | static 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 | } |
| 1052 | EXPORT_SYMBOL(fb_set_var); | ||
| 1045 | 1053 | ||
| 1046 | int | 1054 | int |
| 1047 | fb_blank(struct fb_info *info, int blank) | 1055 | fb_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 | } |
| 1084 | EXPORT_SYMBOL(fb_blank); | ||
| 1076 | 1085 | ||
| 1077 | static long do_fb_ioctl(struct fb_info *info, unsigned int cmd, | 1086 | static 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 | } |
| 1757 | EXPORT_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 | } |
| 1786 | EXPORT_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 | } |
| 1810 | EXPORT_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 | } |
| 1927 | EXPORT_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 | |||
| 1966 | EXPORT_SYMBOL(register_framebuffer); | ||
| 1967 | EXPORT_SYMBOL(unregister_framebuffer); | ||
| 1968 | EXPORT_SYMBOL(num_registered_fb); | ||
| 1969 | EXPORT_SYMBOL(registered_fb); | ||
| 1970 | EXPORT_SYMBOL(fb_show_logo); | ||
| 1971 | EXPORT_SYMBOL(fb_set_var); | ||
| 1972 | EXPORT_SYMBOL(fb_blank); | ||
| 1973 | EXPORT_SYMBOL(fb_pan_display); | ||
| 1974 | EXPORT_SYMBOL(fb_get_buffer_offset); | ||
| 1975 | EXPORT_SYMBOL(fb_set_suspend); | ||
| 1976 | EXPORT_SYMBOL(fb_get_options); | ||
| 1977 | |||
| 1978 | MODULE_LICENSE("GPL"); | 1975 | MODULE_LICENSE("GPL"); |
