summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/atafb_iplan2p4.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2019-04-01 18:46:55 +0300
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2019-04-01 18:46:55 +0300
commit577eabb2cbe2e7d0ab1ceef3047ea698caf5db15 (patch)
tree3fcb492b2a5f91cc25660175bc7dbdb53bd5c89c /drivers/video/fbdev/atafb_iplan2p4.c
parente4bedbb625c9fbf205d9fd3d9532e7ebda4a977d (diff)
downloadlinux-577eabb2cbe2e7d0ab1ceef3047ea698caf5db15.tar.xz
fbdev: atafb: Remove obsolete module support
CONFIG_FB_ATARI is bool, hence the Atari frame buffer driver cannot be built as a module. In addition, the module support code refers to a function atafb_deinit(), which never existed. Replace module_init() by device_initcall(). Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Michael Schmitz <schmitzmic@gmail.com> Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video/fbdev/atafb_iplan2p4.c')
-rw-r--r--drivers/video/fbdev/atafb_iplan2p4.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/drivers/video/fbdev/atafb_iplan2p4.c b/drivers/video/fbdev/atafb_iplan2p4.c
index bee0d89463f7..663d66582d79 100644
--- a/drivers/video/fbdev/atafb_iplan2p4.c
+++ b/drivers/video/fbdev/atafb_iplan2p4.c
@@ -10,7 +10,6 @@
* more details.
*/
-#include <linux/module.h>
#include <linux/string.h>
#include <linux/fb.h>
@@ -284,25 +283,3 @@ void atafb_iplan2p4_linefill(struct fb_info *info, u_long next_line,
if (width)
fill8_2col((u8 *)dest, fgcolor, bgcolor, *data);
}
-
-#ifdef MODULE
-MODULE_LICENSE("GPL");
-
-int init_module(void)
-{
- return 0;
-}
-
-void cleanup_module(void)
-{
-}
-#endif /* MODULE */
-
-
- /*
- * Visible symbols for modules
- */
-
-EXPORT_SYMBOL(atafb_iplan2p4_copyarea);
-EXPORT_SYMBOL(atafb_iplan2p4_fillrect);
-EXPORT_SYMBOL(atafb_iplan2p4_linefill);