arch: Remove struct fb_info from video helpers
The per-architecture video helpers do not depend on struct fb_info or anything else from fbdev. Remove it from the interface and replace fb_is_primary_device() with video_is_primary_device(). The new helper is similar in functionality, but can operate on non-fbdev devices. Signed-off-by:Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by:
Sam Ravnborg <sam@ravnborg.org> Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com> Cc: Helge Deller <deller@gmx.de> Cc: "David S. Miller" <davem@davemloft.net> Cc: Andreas Larsson <andreas@gaisler.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: x86@kernel.org Cc: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
Showing
- arch/parisc/include/asm/fb.h 5 additions, 3 deletionsarch/parisc/include/asm/fb.h
- arch/parisc/video/fbdev.c 5 additions, 4 deletionsarch/parisc/video/fbdev.c
- arch/sparc/include/asm/fb.h 4 additions, 3 deletionsarch/sparc/include/asm/fb.h
- arch/sparc/video/fbdev.c 8 additions, 9 deletionsarch/sparc/video/fbdev.c
- arch/x86/include/asm/fb.h 5 additions, 3 deletionsarch/x86/include/asm/fb.h
- arch/x86/video/fbdev.c 7 additions, 11 deletionsarch/x86/video/fbdev.c
- drivers/video/fbdev/core/fbcon.c 1 addition, 1 deletiondrivers/video/fbdev/core/fbcon.c
- include/asm-generic/fb.h 6 additions, 5 deletionsinclude/asm-generic/fb.h
Please register or sign in to comment