linux/arch/arm/mach-pxa
Daniel Vetter 97b67986f1 fbcon: call fbcon_fb_(un)registered directly
With

commit 6104c37094
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Aug 1 17:32:07 2017 +0200

    fbcon: Make fbcon a built-time depency for fbdev

we have a static dependency between fbcon and fbdev, and we can
replace the indirection through the notifier chain with a function
call.

v2: Sam Ravnborg noticed that mach-pxa/am200epd.c has a notifier too,
and listens to this.

...

Looking at the code it seems to wait for some fb to show up, so that
it can get the framebuffer base address from the fb_info struct. I
suspect his is some firmware fbdev. Then it uses that information to
let the real fbdev driver (metronomefb.c by the looks) get at the
framebuffer memory.

This doesn't looke like it's easy to fix (except by deleting the
entire thing, seems untouched since 2008, we might be able to get away
with that), so let's just stuff a few #ifdef into fb.h and fbmem.c and
cry over them for a bit.

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Noralf Trønnes" <noralf@tronnes.org>
Cc: Yisheng Xie <ysxie@foxmail.com>
Cc: Peter Rosin <peda@axentia.se>
Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Mikulas Patocka <mpatocka@redhat.com>
Cc: linux-fbdev@vger.kernel.org
Cc: Daniel Mack <daniel@zonque.org>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Konstantin Khorenko <khorenko@virtuozzo.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Steve Sakoman <sakoman@gmail.com>
Cc: Steve Sakoman <steve@sakoman.com>
Cc: linux-arm-kernel@lists.infradead.org
Link: https://patchwork.freedesktop.org/patch/msgid/20190528090304.9388-11-daniel.vetter@ffwll.ch
2019-06-12 20:27:45 +02:00
..
include/mach ARM: pxa: remove unused empty mach/pxa25x-udc.h file 2019-01-24 21:47:42 +01:00
am200epd.c fbcon: call fbcon_fb_(un)registered directly 2019-06-12 20:27:45 +02:00
am300epd.c
balloon3.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
capc7117.c
cm-x2xx-pci.c
cm-x2xx-pci.h
cm-x2xx.c
cm-x255.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
cm-x270.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
cm-x300.c ARM: SoC platform updates 2018-12-31 17:27:54 -08:00
colibri-evalboard.c ARM: pxa: Delete platform data for CD/WP 2018-12-17 08:26:24 +01:00
colibri-pxa3xx.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
colibri-pxa270-income.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
colibri-pxa270.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
colibri-pxa300.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
colibri-pxa320.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
colibri.h
corgi_pm.c
corgi.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
csb701.c
csb726.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
csb726.h
devices.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
devices.h
em-x270.c spi: Updates for v5.1 2019-03-04 19:23:56 -08:00
eseries-irq.h
eseries.c
ezx.c regulator: fixed/gpio: Pull inversion/OD into gpiolib 2019-02-06 15:58:29 +00:00
generic.c
generic.h
gumstix.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
gumstix.h
h5000.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
h5000.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
himalaya.c
hx4700.c spi: Updates for v5.1 2019-03-04 19:23:56 -08:00
icontrol.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
idp.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
idp.h
irq.c ARM: pxa: irq: fix handling of ICMR registers in suspend/resume 2018-07-07 13:25:15 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
littleton.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 332 2019-06-05 17:37:06 +02:00
littleton.h
lpd270.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
lpd270.h
lubbock.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
magician.c spi: Updates for v5.1 2019-03-04 19:23:56 -08:00
mainstone.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
Makefile ARM: pxa: remove raumfeld board files and defconfig 2019-01-09 21:39:37 +01:00
Makefile.boot treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mfp-pxa2xx.c
mfp-pxa2xx.h
mfp-pxa3xx.c
mfp-pxa3xx.h
mfp-pxa25x.h
mfp-pxa27x.h
mfp-pxa300.h
mfp-pxa320.h
mfp-pxa930.h
mioa701_bootresume.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 429 2019-06-05 17:37:16 +02:00
mioa701.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
mioa701.h
mp900.c
mxm8x10.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
mxm8x10.h
palm27x.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palm27x.h mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmld.c MMC core: 2018-12-28 16:52:18 -08:00
palmt5.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmt5.h
palmtc.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmte2.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmte2.h
palmtreo.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmtreo.h
palmtx.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmz72.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmz72.h
pcm027.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
pcm027.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
pcm990_baseboard.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
pcm990-baseboard.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
pm.c
pm.h
poodle.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
pxa2xx.c
pxa3xx-ulpi.c
pxa3xx.c
pxa3xx.h
pxa25x.c
pxa25x.h
pxa27x-udc.h
pxa27x.c
pxa27x.h
pxa300.c
pxa300.h
pxa320.c
pxa320.h
pxa930.c
pxa930.h
pxa_cplds_irqs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pxa-dt.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 332 2019-06-05 17:37:06 +02:00
regs-rtc.h
regs-u2d.h
reset.c
saar.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 332 2019-06-05 17:37:06 +02:00
sharpsl_pm.c
sharpsl_pm.h
sleep.S
smemc.c
spitz_pm.c
spitz.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
standby.S
stargate2.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
tavorevb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 332 2019-06-05 17:37:06 +02:00
tosa_bt.h
tosa-bt.c
tosa.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
trizeps4.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
udc.h
viper.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
viper.h
vpac270.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
xcep.c
z2.c pxa2xx: replace spi_master with spi_controller 2019-01-23 10:59:56 +00:00
zeus.c spi: Updates for v5.1 2019-03-04 19:23:56 -08:00
zeus.h
zylonite_pxa300.c ARM: pxa: Add gpio descriptor lookup tables for MMC CD/WP 2018-12-17 08:26:24 +01:00
zylonite_pxa320.c
zylonite.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
zylonite.h