Skip to content

Commit 86d6688

Browse files
committed
Merge tag 'fbdev-for-6.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev
Pull fbdev fixes from Helge Deller: - Fix some build warnings and failures with CONFIG_FB_IOMEM_FOPS and CONFIG_FB_DEVICE - Remove the da8xx fbdev driver - Constify struct sbus_mmap_map and fix indentation warning * tag 'fbdev-for-6.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev: fbdev: wm8505fb: select CONFIG_FB_IOMEM_FOPS fbdev: da8xx: remove the driver fbdev: Constify struct sbus_mmap_map fbdev: nvidiafb: fix inconsistent indentation warning fbdev: sstfb: Make CONFIG_FB_DEVICE optional
2 parents f0560f9 + 51521d2 commit 86d6688

File tree

16 files changed

+22
-1790
lines changed

16 files changed

+22
-1790
lines changed

drivers/video/fbdev/Kconfig

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,7 +1236,6 @@ config FB_3DFX_I2C
12361236
config FB_VOODOO1
12371237
tristate "3Dfx Voodoo Graphics (sst1) support"
12381238
depends on FB && PCI
1239-
depends on FB_DEVICE
12401239
select FB_IOMEM_HELPERS
12411240
help
12421241
Say Y here if you have a 3Dfx Voodoo Graphics (Voodoo1/sst1) or
@@ -1374,6 +1373,7 @@ config FB_VT8500
13741373
config FB_WM8505
13751374
bool "Wondermedia WM8xxx-series frame buffer support"
13761375
depends on (FB = y) && HAS_IOMEM && (ARCH_VT8500 || COMPILE_TEST)
1376+
select FB_IOMEM_FOPS
13771377
select FB_SYS_FILLRECT if (!FB_WMT_GE_ROPS)
13781378
select FB_SYS_COPYAREA if (!FB_WMT_GE_ROPS)
13791379
select FB_SYS_IMAGEBLIT
@@ -1660,19 +1660,6 @@ config FB_SH7760
16601660
and 8, 15 or 16 bpp color; 90 degrees clockwise display rotation for
16611661
panels <= 320 pixel horizontal resolution.
16621662

1663-
config FB_DA8XX
1664-
tristate "DA8xx/OMAP-L1xx/AM335x Framebuffer support"
1665-
depends on FB && HAVE_CLK && HAS_IOMEM
1666-
depends on ARCH_DAVINCI_DA8XX || SOC_AM33XX || COMPILE_TEST
1667-
select FB_CFB_REV_PIXELS_IN_BYTE
1668-
select FB_IOMEM_HELPERS
1669-
select FB_MODE_HELPERS
1670-
select VIDEOMODE_HELPERS
1671-
help
1672-
This is the frame buffer device driver for the TI LCD controller
1673-
found on DA8xx/OMAP-L1xx/AM335x SoCs.
1674-
If unsure, say N.
1675-
16761663
config FB_VIRTUAL
16771664
tristate "Virtual Frame Buffer support (ONLY FOR TESTING!)"
16781665
depends on FB

drivers/video/fbdev/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ obj-$(CONFIG_FB_VESA) += vesafb.o
121121
obj-$(CONFIG_FB_EFI) += efifb.o
122122
obj-$(CONFIG_FB_VGA16) += vga16fb.o
123123
obj-$(CONFIG_FB_OF) += offb.o
124-
obj-$(CONFIG_FB_DA8XX) += da8xx-fb.o
125124
obj-$(CONFIG_FB_SSD1307) += ssd1307fb.o
126125
obj-$(CONFIG_FB_SIMPLE) += simplefb.o
127126

drivers/video/fbdev/bw2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ bw2_blank(int blank, struct fb_info *info)
147147
return 0;
148148
}
149149

150-
static struct sbus_mmap_map bw2_mmap_map[] = {
150+
static const struct sbus_mmap_map bw2_mmap_map[] = {
151151
{
152152
.size = SBUS_MMAP_FBSIZE(1)
153153
},

drivers/video/fbdev/cg14.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ static void cg14_init_fix(struct fb_info *info, int linebytes,
360360
info->fix.accel = FB_ACCEL_SUN_CG14;
361361
}
362362

363-
static struct sbus_mmap_map __cg14_mmap_map[CG14_MMAP_ENTRIES] = {
363+
static const struct sbus_mmap_map __cg14_mmap_map[CG14_MMAP_ENTRIES] = {
364364
{
365365
.voff = CG14_REGS,
366366
.poff = 0x80000000,

drivers/video/fbdev/cg3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ static int cg3_blank(int blank, struct fb_info *info)
209209
return 0;
210210
}
211211

212-
static struct sbus_mmap_map cg3_mmap_map[] = {
212+
static const struct sbus_mmap_map cg3_mmap_map[] = {
213213
{
214214
.voff = CG3_MMAP_OFFSET,
215215
.poff = CG3_RAM_OFFSET,

drivers/video/fbdev/cg6.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ static int cg6_blank(int blank, struct fb_info *info)
545545
return 0;
546546
}
547547

548-
static struct sbus_mmap_map cg6_mmap_map[] = {
548+
static const struct sbus_mmap_map cg6_mmap_map[] = {
549549
{
550550
.voff = CG6_FBC,
551551
.poff = CG6_FBC_OFFSET,

0 commit comments

Comments
 (0)