summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/bfin_adv7393fb.h
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2016-08-02 14:04:01 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-08-02 19:35:05 -0400
commitb5644a153d2701ffc335cfb9ef49967bd5b6a3c2 (patch)
treed13d705aa5642187ebcf0a2a05166fb9fc3ced29 /drivers/video/fbdev/bfin_adv7393fb.h
parent40a7d9f5f90681c6d7890b6a07f230bb4afe7e39 (diff)
fbdev/bfin_adv7393fb: move DRIVER_NAME before its first use
Move the DRIVER_NAME macro definition before the first usage site and fix build error. Link: http://lkml.kernel.org/r/20160801163937.GA28119@nazgul.tnic Signed-off-by: Borislav Petkov <bp@suse.de> Reported-by: kbuild test robot <fengguang.wu@intel.com> Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/fbdev/bfin_adv7393fb.h')
-rw-r--r--drivers/video/fbdev/bfin_adv7393fb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/fbdev/bfin_adv7393fb.h b/drivers/video/fbdev/bfin_adv7393fb.h
index cd591b5152a5..afd0380e19e1 100644
--- a/drivers/video/fbdev/bfin_adv7393fb.h
+++ b/drivers/video/fbdev/bfin_adv7393fb.h
@@ -59,8 +59,6 @@ enum {
BLANK_OFF,
};
-#define DRIVER_NAME "bfin-adv7393"
-
struct adv7393fb_modes {
const s8 name[25]; /* Full name */
u16 xres; /* Active Horizonzal Pixels */