• Thomas Zimmermann's avatar
    arch: Remove struct fb_info from video helpers · f178e96d
    Thomas Zimmermann authored
    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: default avatarThomas Zimmermann <tzimmermann@suse.de>
    Reviewed-by: default avatarSam 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: default avatarArnd Bergmann <arnd@arndb.de>
    f178e96d
fb.h 1.02 KB