]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
parisc/stifb: Fix fb_is_primary_device() only available with CONFIG_FB_STI
authorHelge Deller <deller@gmx.de>
Tue, 7 Jun 2022 10:57:58 +0000 (12:57 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 26 Aug 2022 08:53:59 +0000 (10:53 +0200)
commit9ebf537fb34a1330ed9063ce1f444050c0dc8d8a
treee710aaefd0a50452dcf796556634c59507cd4702
parent04019af43cd936fd91b186dfad179cc8bcd3af62
parisc/stifb: Fix fb_is_primary_device() only available with CONFIG_FB_STI

BugLink: https://bugs.launchpad.net/bugs/1986718
commit 1d0811b03eb30b2f0793acaa96c6ce90b8b9c87a upstream.

Fix this build error noticed by the kernel test robot:

drivers/video/console/sticore.c:1132:5: error: redefinition of 'fb_is_primary_device'
 arch/parisc/include/asm/fb.h:18:19: note: previous definition of 'fb_is_primary_device'

Signed-off-by: Helge Deller <deller@gmx.de>
Reported-by: kernel test robot <lkp@intel.com>
Cc: stable@vger.kernel.org # v5.10+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/parisc/include/asm/fb.h
drivers/video/console/sticore.c