]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
alpha: use generic fb.h
authorTobias Klauser <tklauser@distanz.ch>
Wed, 17 May 2017 08:29:34 +0000 (10:29 +0200)
committerMatt Turner <mattst88@gmail.com>
Mon, 4 Sep 2017 19:04:30 +0000 (12:04 -0700)
The arch uses a verbatim copy of the asm-generic version and does not
add any own implemntations to the header, so use asm-generic/fb.h
instead of duplicating code.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/include/asm/Kbuild
arch/alpha/include/asm/fb.h [deleted file]

index d103db5af5ffdd19fbbc897e6050171b884e6d32..5b974ab8425c8606d1c46420350b55bf67cfccf1 100644 (file)
@@ -3,6 +3,7 @@
 generic-y += clkdev.h
 generic-y += exec.h
 generic-y += export.h
+generic-y += fb.h
 generic-y += irq_work.h
 generic-y += mcs_spinlock.h
 generic-y += mm-arch-hooks.h
diff --git a/arch/alpha/include/asm/fb.h b/arch/alpha/include/asm/fb.h
deleted file mode 100644 (file)
index fa9bbb9..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#ifndef _ASM_FB_H_
-#define _ASM_FB_H_
-#include <linux/device.h>
-
-/* Caching is off in the I/O space quadrant by design.  */
-#define fb_pgprotect(...) do {} while (0)
-
-static inline int fb_is_primary_device(struct fb_info *info)
-{
-       return 0;
-}
-
-#endif /* _ASM_FB_H_ */