Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5644a15 authored by Borislav Petkov's avatar Borislav Petkov Committed by Linus Torvalds
Browse files

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: default avatarBorislav Petkov <bp@suse.de>
Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 40a7d9f5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -10,6 +10,8 @@
 * TODO: Code Cleanup
 */

#define DRIVER_NAME "bfin-adv7393"

#define pr_fmt(fmt) DRIVER_NAME ": " fmt

#include <linux/module.h>
+0 −2
Original line number Diff line number Diff line
@@ -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  */