]> git.baikalelectronics.ru Git - 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jun 2022 07:03:29 +0000 (09:03 +0200)
commit6bf9323fbd99d2af80b3231aea56a5bb242b8b78
tree326fdb9f91144c26c67b0c5d573f1e7293820382
parent9ac515a848756ba87ed04bde65d80ce0e87f132d
parisc/stifb: Fix fb_is_primary_device() only available with CONFIG_FB_STI

commit 00ee6f1631e22fec9219f4e2351cb32dd57c439c 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>
arch/parisc/include/asm/fb.h
drivers/video/console/sticore.c