OSDN Git Service

Merge tag 'backlight-next-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/lee...
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 May 2019 17:45:03 +0000 (10:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 May 2019 17:45:03 +0000 (10:45 -0700)
Pull backlight updates from Lee Jones:
 "Fix-ups:
   - Remove unused BACKLIGHT_LCD_SUPPORT symbol
   - Remove unused BACKLIGHT_CLASS_DEVICE dependencies
   - Add DT support to lm3630a_bl

  Bug Fixes:
   - Fix error path issues in lm3630a_bl"

* tag 'backlight-next-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight:
  backlight: lm3630a: Add firmware node support
  dt-bindings: backlight: Add lm3630a bindings
  backlight: lm3630a: Return 0 on success in update_status functions
  video: lcd: Remove useless BACKLIGHT_CLASS_DEVICE dependencies
  video: backlight: Remove useless BACKLIGHT_LCD_SUPPORT kernel symbol

1  2 
arch/unicore32/Kconfig
drivers/gpu/drm/Kconfig
drivers/gpu/drm/nouveau/Kconfig
drivers/staging/olpc_dcon/Kconfig
drivers/video/fbdev/Kconfig

diff --combined arch/unicore32/Kconfig
@@@ -3,7 -3,6 +3,7 @@@ config UNICORE3
        def_bool y
        select ARCH_32BIT_OFF_T
        select ARCH_HAS_DEVMEM_IS_ALLOWED
 +      select ARCH_HAS_KEEPINITRD
        select ARCH_MIGHT_HAVE_PC_PARPORT
        select ARCH_MIGHT_HAVE_PC_SERIO
        select HAVE_KERNEL_GZIP
@@@ -21,7 -20,6 +21,7 @@@
        select GENERIC_IOMAP
        select MODULES_USE_ELF_REL
        select NEED_DMA_MAP_STATE
 +      select MMU_GATHER_NO_RANGE if MMU
        help
          UniCore-32 is 32-bit Instruction Set Architecture,
          including a series of low-power-consumption RISC chip
@@@ -40,6 -38,12 +40,6 @@@ config STACKTRACE_SUPPOR
  config LOCKDEP_SUPPORT
        def_bool y
  
 -config RWSEM_GENERIC_SPINLOCK
 -      def_bool y
 -
 -config RWSEM_XCHGADD_ALGORITHM
 -      bool
 -
  config ARCH_HAS_ILOG2_U32
        bool
  
@@@ -191,7 -195,6 +191,6 @@@ config I2C_EEPROM_AT2
  
  config LCD_BACKLIGHT
        tristate "LCD Backlight support"
-       select BACKLIGHT_LCD_SUPPORT
        select BACKLIGHT_PWM
  
  endmenu
diff --combined drivers/gpu/drm/Kconfig
@@@ -173,12 -173,6 +173,12 @@@ config DRM_KMS_CMA_HELPE
        help
          Choose this if you need the KMS CMA helper functions
  
 +config DRM_GEM_SHMEM_HELPER
 +      bool
 +      depends on DRM
 +      help
 +        Choose this if you need the GEM shmem helper functions
 +
  config DRM_VM
        bool
        depends on DRM && MMU
@@@ -200,7 -194,6 +200,6 @@@ config DRM_RADEO
        select POWER_SUPPLY
        select HWMON
        select BACKLIGHT_CLASS_DEVICE
-       select BACKLIGHT_LCD_SUPPORT
        select INTERVAL_TREE
        help
          Choose this option if you have an ATI Radeon graphics card.  There
@@@ -221,7 -214,6 +220,6 @@@ config DRM_AMDGP
        select POWER_SUPPLY
        select HWMON
        select BACKLIGHT_CLASS_DEVICE
-       select BACKLIGHT_LCD_SUPPORT
        select INTERVAL_TREE
        select CHASH
        help
  
  source "drivers/gpu/drm/amd/amdgpu/Kconfig"
  
 -source "drivers/gpu/drm/amd/lib/Kconfig"
 -
  source "drivers/gpu/drm/nouveau/Kconfig"
  
  source "drivers/gpu/drm/i915/Kconfig"
@@@ -255,9 -249,6 +253,9 @@@ config DRM_VKM
  
          If M is selected the module will be called vkms.
  
 +config DRM_ATI_PCIGART
 +        bool
 +
  source "drivers/gpu/drm/exynos/Kconfig"
  
  source "drivers/gpu/drm/rockchip/Kconfig"
@@@ -336,21 -327,12 +334,21 @@@ source "drivers/gpu/drm/tve200/Kconfig
  
  source "drivers/gpu/drm/xen/Kconfig"
  
 +source "drivers/gpu/drm/vboxvideo/Kconfig"
 +
 +source "drivers/gpu/drm/lima/Kconfig"
 +
 +source "drivers/gpu/drm/panfrost/Kconfig"
 +
 +source "drivers/gpu/drm/aspeed/Kconfig"
 +
  # Keep legacy drivers last
  
  menuconfig DRM_LEGACY
        bool "Enable legacy drivers (DANGEROUS)"
        depends on DRM && MMU
        select DRM_VM
 +      select DRM_ATI_PCIGART if PCI
        help
          Enable legacy DRI1 drivers. Those drivers expose unsafe and dangerous
          APIs to user-space, which can be used to circumvent access
@@@ -5,33 -5,20 +5,31 @@@ config DRM_NOUVEA
        select DRM_KMS_HELPER
        select DRM_TTM
        select BACKLIGHT_CLASS_DEVICE if DRM_NOUVEAU_BACKLIGHT
-       select BACKLIGHT_LCD_SUPPORT if DRM_NOUVEAU_BACKLIGHT
        select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && INPUT
        select X86_PLATFORM_DEVICES if ACPI && X86
        select ACPI_WMI if ACPI && X86
        select MXM_WMI if ACPI && X86
        select POWER_SUPPLY
        # Similar to i915, we need to select ACPI_VIDEO and it's dependencies
-       select BACKLIGHT_LCD_SUPPORT if ACPI && X86
        select BACKLIGHT_CLASS_DEVICE if ACPI && X86
        select INPUT if ACPI && X86
        select THERMAL if ACPI && X86
        select ACPI_VIDEO if ACPI && X86
 -      select DRM_VM
        help
          Choose this option for open-source NVIDIA support.
  
 +config NOUVEAU_LEGACY_CTX_SUPPORT
 +      bool "Nouveau legacy context support"
 +      depends on DRM_NOUVEAU
 +      select DRM_LEGACY
 +      default y
 +      help
 +        There was a version of the nouveau DDX that relied on legacy
 +        ctx ioctls not erroring out. But that was back in time a long
 +        ways, so offer a way to disable it now. For uapi compat with
 +        old nouveau ddx this should be on by default, but modern distros
 +        should consider turning it off.
 +
  config NOUVEAU_PLATFORM_DRIVER
        bool "Nouveau (NVIDIA) SoC GPUs"
        depends on DRM_NOUVEAU && ARCH_TEGRA
@@@ -1,9 -1,7 +1,8 @@@
 +# SPDX-License-Identifier: GPL-2.0
  config FB_OLPC_DCON
        tristate "One Laptop Per Child Display CONtroller support"
        depends on OLPC && FB
        depends on I2C
-       depends on BACKLIGHT_LCD_SUPPORT
        depends on (GPIO_CS5535 || GPIO_CS5535=n)
        select BACKLIGHT_CLASS_DEVICE
        help
@@@ -45,25 -45,25 +45,25 @@@ menuconfig F
          device-aware may cause unexpected results. If unsure, say N.
  
  config FIRMWARE_EDID
 -       bool "Enable firmware EDID"
 -       depends on FB
 -       ---help---
 -         This enables access to the EDID transferred from the firmware.
 -       On the i386, this is from the Video BIOS. Enable this if DDC/I2C
 -       transfers do not work for your driver and if you are using
 -       nvidiafb, i810fb or savagefb.
 -
 -       In general, choosing Y for this option is safe.  If you
 -       experience extremely long delays while booting before you get
 -       something on your display, try setting this to N.  Matrox cards in
 -       combination with certain motherboards and monitors are known to
 -       suffer from this problem.
 +      bool "Enable firmware EDID"
 +      depends on FB
 +      ---help---
 +        This enables access to the EDID transferred from the firmware.
 +        On the i386, this is from the Video BIOS. Enable this if DDC/I2C
 +        transfers do not work for your driver and if you are using
 +        nvidiafb, i810fb or savagefb.
 +
 +        In general, choosing Y for this option is safe.  If you
 +        experience extremely long delays while booting before you get
 +        something on your display, try setting this to N.  Matrox cards in
 +        combination with certain motherboards and monitors are known to
 +        suffer from this problem.
  
  config FB_DDC
 -       tristate
 -       depends on FB
 -       select I2C_ALGOBIT
 -       select I2C
 +      tristate
 +      depends on FB
 +      select I2C_ALGOBIT
 +      select I2C
  
  config FB_BOOT_VESA_SUPPORT
        bool
@@@ -160,8 -160,8 +160,8 @@@ config FB_LITTLE_ENDIA
  endchoice
  
  config FB_SYS_FOPS
 -       tristate
 -       depends on FB
 +      tristate
 +      depends on FB
  
  config FB_DEFERRED_IO
        bool
@@@ -180,41 -180,40 +180,40 @@@ config FB_SVGALI
          cards.
  
  config FB_MACMODES
 -       tristate
 -       depends on FB
 +      tristate
 +      depends on FB
  
  config FB_BACKLIGHT
        tristate
        depends on FB
-       select BACKLIGHT_LCD_SUPPORT
        select BACKLIGHT_CLASS_DEVICE
  
  config FB_MODE_HELPERS
 -        bool "Enable Video Mode Handling Helpers"
 -        depends on FB
 +      bool "Enable Video Mode Handling Helpers"
 +      depends on FB
        ---help---
          This enables functions for handling video modes using the
          Generalized Timing Formula and the EDID parser. A few drivers rely
 -          on this feature such as the radeonfb, rivafb, and the i810fb. If
 +        on this feature such as the radeonfb, rivafb, and the i810fb. If
          your driver does not take advantage of this feature, choosing Y will
          just increase the kernel size by about 5K.
  
  config FB_TILEBLITTING
 -       bool "Enable Tile Blitting Support"
 -       depends on FB
 -       ---help---
 -         This enables tile blitting.  Tile blitting is a drawing technique
 -       where the screen is divided into rectangular sections (tiles), whereas
 -       the standard blitting divides the screen into pixels. Because the
 -       default drawing element is a tile, drawing functions will be passed
 -       parameters in terms of number of tiles instead of number of pixels.
 -       For example, to draw a single character, instead of using bitmaps,
 -       an index to an array of bitmaps will be used.  To clear or move a
 -       rectangular section of a screen, the rectangle will be described in
 -       terms of number of tiles in the x- and y-axis.
 -
 -       This is particularly important to one driver, matroxfb.  If
 -       unsure, say N.
 +      bool "Enable Tile Blitting Support"
 +      depends on FB
 +      ---help---
 +        This enables tile blitting.  Tile blitting is a drawing technique
 +        where the screen is divided into rectangular sections (tiles), whereas
 +        the standard blitting divides the screen into pixels. Because the
 +        default drawing element is a tile, drawing functions will be passed
 +        parameters in terms of number of tiles instead of number of pixels.
 +        For example, to draw a single character, instead of using bitmaps,
 +        an index to an array of bitmaps will be used.  To clear or move a
 +        rectangular section of a screen, the rectangle will be described in
 +        terms of number of tiles in the x- and y-axis.
 +
 +        This is particularly important to one driver, matroxfb.  If
 +        unsure, say N.
  
  comment "Frame buffer hardware drivers"
        depends on FB
@@@ -226,7 -225,7 +225,7 @@@ config FB_GRVG
        select FB_CFB_COPYAREA
        select FB_CFB_IMAGEBLIT
        ---help---
 -      This enables support for the SVGACTRL framebuffer in the GRLIB IP library from Aeroflex Gaisler.
 +        This enables support for the SVGACTRL framebuffer in the GRLIB IP library from Aeroflex Gaisler.
  
  config FB_CIRRUS
        tristate "Cirrus Logic support"
@@@ -281,7 -280,6 +280,6 @@@ config FB_ARMCLC
        select FB_CFB_IMAGEBLIT
        select FB_MODE_HELPERS if OF
        select VIDEOMODE_HELPERS if OF
-       select BACKLIGHT_LCD_SUPPORT if OF
        select BACKLIGHT_CLASS_DEVICE if OF
        help
          This framebuffer device driver is for the ARM PrimeCell PL110
          here and read <file:Documentation/kbuild/modules.txt>.  The module
          will be called amba-clcd.
  
 -# Helper logic selected only by the ARM Versatile platform family.
 -config PLAT_VERSATILE_CLCD
 -      def_bool ARCH_VERSATILE || ARCH_REALVIEW || ARCH_VEXPRESS || ARCH_INTEGRATOR
 -      depends on ARM
 -      depends on FB_ARMCLCD && FB=y
 -      select REGMAP
 -      select MFD_SYSCON
 -
  config FB_ACORN
        bool "Acorn VIDC support"
        depends on (FB = y) && ARM && ARCH_ACORN
  config FB_CLPS711X
        tristate "CLPS711X LCD support"
        depends on FB && (ARCH_CLPS711X || COMPILE_TEST)
-       select BACKLIGHT_LCD_SUPPORT
        select FB_MODE_HELPERS
        select FB_SYS_FILLRECT
        select FB_SYS_COPYAREA
@@@ -335,7 -340,6 +332,6 @@@ config FB_SA110
  config FB_IMX
        tristate "Freescale i.MX1/21/25/27 LCD support"
        depends on FB && ARCH_MXC
-       select BACKLIGHT_LCD_SUPPORT
        select LCD_CLASS_DEVICE
        select FB_CFB_FILLRECT
        select FB_CFB_COPYAREA
@@@ -647,17 -651,17 +643,17 @@@ config FB_EF
          using the EFI framebuffer as your console.
  
  config FB_N411
 -       tristate "N411 Apollo/Hecuba devkit support"
 -       depends on FB && X86 && MMU
 -       select FB_SYS_FILLRECT
 -       select FB_SYS_COPYAREA
 -       select FB_SYS_IMAGEBLIT
 -       select FB_SYS_FOPS
 -       select FB_DEFERRED_IO
 -       select FB_HECUBA
 -       help
 -         This enables support for the Apollo display controller in its
 -         Hecuba form using the n411 devkit.
 +      tristate "N411 Apollo/Hecuba devkit support"
 +      depends on FB && X86 && MMU
 +      select FB_SYS_FILLRECT
 +      select FB_SYS_COPYAREA
 +      select FB_SYS_IMAGEBLIT
 +      select FB_SYS_FOPS
 +      select FB_DEFERRED_IO
 +      select FB_HECUBA
 +      help
 +        This enables support for the Apollo display controller in its
 +        Hecuba form using the n411 devkit.
  
  config FB_HGA
        tristate "Hercules mono graphics support"
@@@ -677,7 -681,7 +673,7 @@@ config FB_GB
        select FB_CFB_FILLRECT
        select FB_CFB_COPYAREA
        select FB_CFB_IMAGEBLIT
 -      help
 +      help
          This is the frame buffer device driver for SGI Graphics Backend.
          This chip is used in SGI O2 and Visual Workstation 320/540.
  
@@@ -858,8 -862,8 +854,8 @@@ config FB_S1D13XX
          <http://vdc.epson.com/>
  
  config FB_ATMEL
 -      tristate "AT91/AT32 LCD Controller support"
 -      depends on FB && HAVE_FB_ATMEL
 +      tristate "AT91 LCD Controller support"
 +      depends on FB && OF && HAVE_FB_ATMEL
        select FB_BACKLIGHT
        select FB_CFB_FILLRECT
        select FB_CFB_COPYAREA
        select FB_MODE_HELPERS
        select VIDEOMODE_HELPERS
        help
 -        This enables support for the AT91/AT32 LCD Controller.
 +        This enables support for the AT91 LCD Controller.
  
  config FB_NVIDIA
        tristate "nVidia Framebuffer Support"
          module will be called nvidiafb.
  
  config FB_NVIDIA_I2C
 -       bool "Enable DDC Support"
 -       depends on FB_NVIDIA
 -       select FB_DDC
 -       help
 +      bool "Enable DDC Support"
 +      depends on FB_NVIDIA
 +      select FB_DDC
 +      help
          This enables I2C support for nVidia Chipsets.  This is used
          only for getting EDID information from the attached display
          allowing for robust video mode handling and switching.
@@@ -935,10 -939,10 +931,10 @@@ config FB_RIV
          module will be called rivafb.
  
  config FB_RIVA_I2C
 -       bool "Enable DDC Support"
 -       depends on FB_RIVA
 -       select FB_DDC
 -       help
 +      bool "Enable DDC Support"
 +      depends on FB_RIVA
 +      select FB_DDC
 +      help
          This enables I2C support for nVidia Chipsets.  This is used
          only for getting EDID information from the attached display
          allowing for robust video mode handling and switching.
@@@ -983,37 -987,37 +979,37 @@@ config FB_I81
        select FB_CFB_IMAGEBLIT
        select VGASTATE
        help
 -        This driver supports the on-board graphics built in to the Intel 810 
 -          and 815 chipsets.  Say Y if you have and plan to use such a board.
 +        This driver supports the on-board graphics built in to the Intel 810
 +        and 815 chipsets.  Say Y if you have and plan to use such a board.
  
 -          To compile this driver as a module, choose M here: the
 +        To compile this driver as a module, choose M here: the
          module will be called i810fb.
  
 -          For more information, please read 
 +        For more information, please read
          <file:Documentation/fb/intel810.txt>
  
  config FB_I810_GTF
        bool "use VESA Generalized Timing Formula"
        depends on FB_I810
        help
 -        If you say Y, then the VESA standard, Generalized Timing Formula 
 -          or GTF, will be used to calculate the required video timing values
 -        per video mode.  Since the GTF allows nondiscrete timings 
 -          (nondiscrete being a range of values as opposed to discrete being a
 -          set of values), you'll be able to use any combination of horizontal 
 +        If you say Y, then the VESA standard, Generalized Timing Formula
 +        or GTF, will be used to calculate the required video timing values
 +        per video mode.  Since the GTF allows nondiscrete timings
 +        (nondiscrete being a range of values as opposed to discrete being a
 +        set of values), you'll be able to use any combination of horizontal
          and vertical resolutions, and vertical refresh rates without having
          to specify your own timing parameters.  This is especially useful
 -        to maximize the performance of an aging display, or if you just 
 -          have a display with nonstandard dimensions. A VESA compliant 
 +        to maximize the performance of an aging display, or if you just
 +        have a display with nonstandard dimensions. A VESA compliant
          monitor is recommended, but can still work with non-compliant ones.
 -        If you need or want this, then select this option. The timings may 
 -        not be compliant with Intel's recommended values. Use at your own 
 +        If you need or want this, then select this option. The timings may
 +        not be compliant with Intel's recommended values. Use at your own
          risk.
  
 -          If you say N, the driver will revert to discrete video timings 
 +        If you say N, the driver will revert to discrete video timings
          using a set recommended by Intel in their documentation.
 -  
 -          If unsure, say N.
 +
 +        If unsure, say N.
  
  config FB_I810_I2C
        bool "Enable DDC Support"
@@@ -1052,8 -1056,8 +1048,8 @@@ config FB_INTE
        depends on !DRM_I915
        help
          This driver supports the on-board graphics built in to the Intel
 -          830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM/965G/965GM chipsets.
 -          Say Y if you have and plan to use such a board.
 +        830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM/965G/965GM chipsets.
 +        Say Y if you have and plan to use such a board.
  
          To make FB_INTEL=Y work you need to say AGP_INTEL=y too.
  
@@@ -1134,10 -1138,10 +1130,10 @@@ config FB_MATROX_
          G450/G550 secondary head and digital output are supported without
          additional modules.
  
 -        The driver starts in monitor mode. You must use the matroxset tool 
 -        (available at <ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/>) to 
 -        swap primary and secondary head outputs, or to change output mode.  
 -        Secondary head driver always start in 640x480 resolution and you 
 +        The driver starts in monitor mode. You must use the matroxset tool
 +        (available at <ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/>) to
 +        swap primary and secondary head outputs, or to change output mode.
 +        Secondary head driver always start in 640x480 resolution and you
          must use fbset to change it.
  
          Do not forget that second head supports only 16 and 32 bpp
@@@ -1220,7 -1224,7 +1216,7 @@@ config FB_RADEON_I2
        select FB_DDC
        default y
        help
 -        Say Y here if you want DDC/I2C support for your Radeon board. 
 +        Say Y here if you want DDC/I2C support for your Radeon board.
  
  config FB_RADEON_BACKLIGHT
        bool "Support for backlight control"
@@@ -1349,10 -1353,10 +1345,10 @@@ config FB_SAVAG
          will be called savagefb.
  
  config FB_SAVAGE_I2C
 -       bool "Enable DDC2 Support"
 -       depends on FB_SAVAGE
 -       select FB_DDC
 -       help
 +      bool "Enable DDC2 Support"
 +      depends on FB_SAVAGE
 +      select FB_DDC
 +      help
          This enables I2C support for S3 Savage Chipsets.  This is used
          only for getting EDID information from the attached display
          allowing for robust video mode handling and switching.
          here.
  
  config FB_SAVAGE_ACCEL
 -       bool "Enable Console Acceleration"
 -       depends on FB_SAVAGE
 -       help
 -          This option will compile in console acceleration support. If
 -          the resulting framebuffer console has bothersome glitches, then
 -          choose N here.
 +      bool "Enable Console Acceleration"
 +      depends on FB_SAVAGE
 +      help
 +        This option will compile in console acceleration support. If
 +        the resulting framebuffer console has bothersome glitches, then
 +        choose N here.
  
  config FB_SIS
        tristate "SiS/XGI display support"
@@@ -1400,17 -1404,17 +1396,17 @@@ config FB_SIS_31
          as XGI V3XT, V5, V8 and Z7.
  
  config FB_VIA
 -       tristate "VIA UniChrome (Pro) and Chrome9 display support"
 -       depends on FB && PCI && GPIOLIB && I2C && (X86 || COMPILE_TEST)
 -       select FB_CFB_FILLRECT
 -       select FB_CFB_COPYAREA
 -       select FB_CFB_IMAGEBLIT
 -       select I2C_ALGOBIT
 -       help
 +      tristate "VIA UniChrome (Pro) and Chrome9 display support"
 +      depends on FB && PCI && GPIOLIB && I2C && (X86 || COMPILE_TEST)
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
 +      select I2C_ALGOBIT
 +      help
          This is the frame buffer device driver for Graphics chips of VIA
          UniChrome (Pro) Family (CLE266,PM800/CN400,P4M800CE/P4M800Pro/
          CN700/VN800,CX700/VX700,P4M890) and Chrome9 Family (K8M890,CN896
 -        /P4M900,VX800)
 +        /P4M900,VX800)
          Say Y if you have a VIA UniChrome graphics board.
  
          To compile this driver as a module, choose M here: the
@@@ -1447,7 -1451,7 +1443,7 @@@ config FB_NEOMAGI
        select VGASTATE
        help
          This driver supports notebooks with NeoMagic PCI chips.
 -        Say Y if you have such a graphics card. 
 +        Say Y if you have such a graphics card.
  
          To compile this driver as a module, choose M here: the
          module will be called neofb.
@@@ -1502,7 -1506,7 +1498,7 @@@ config FB_VOODOO
        select FB_CFB_COPYAREA
        select FB_CFB_IMAGEBLIT
        ---help---
 -        Say Y here if you have a 3Dfx Voodoo Graphics (Voodoo1/sst1) or 
 +        Say Y here if you have a 3Dfx Voodoo Graphics (Voodoo1/sst1) or
          Voodoo2 (cvg) based graphics card.
  
          To compile this driver as a module, choose M here: the
@@@ -1671,9 -1675,9 +1667,9 @@@ config FB_HI
  config FB_PMAG_AA
        tristate "PMAG-AA TURBOchannel framebuffer support"
        depends on FB && TC
 -      select FB_CFB_FILLRECT
 -      select FB_CFB_COPYAREA
 -      select FB_CFB_IMAGEBLIT
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
        help
          Support for the PMAG-AA TURBOchannel framebuffer card (1280x1024x1)
          used mainly in the MIPS-based DECstation series.
  config FB_PMAG_BA
        tristate "PMAG-BA TURBOchannel framebuffer support"
        depends on FB && TC
 -      select FB_CFB_FILLRECT
 -      select FB_CFB_COPYAREA
 -      select FB_CFB_IMAGEBLIT
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
        help
          Support for the PMAG-BA TURBOchannel framebuffer card (1024x864x8)
          used mainly in the MIPS-based DECstation series.
  config FB_PMAGB_B
        tristate "PMAGB-B TURBOchannel framebuffer support"
        depends on FB && TC
 -      select FB_CFB_FILLRECT
 -      select FB_CFB_COPYAREA
 -      select FB_CFB_IMAGEBLIT
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
        help
          Support for the PMAGB-B TURBOchannel framebuffer card used mainly
          in the MIPS-based DECstation series. The card is currently only
  config FB_MAXINE
        bool "Maxine (Personal DECstation) onboard framebuffer support"
        depends on (FB = y) && MACH_DECSTATION
 -      select FB_CFB_FILLRECT
 -      select FB_CFB_COPYAREA
 -      select FB_CFB_IMAGEBLIT
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
        help
          Support for the onboard framebuffer (1024x768x8) in the Personal
          DECstation series (Personal DECstation 5000/20, /25, /33, /50,
  config FB_G364
        bool "G364 frame buffer support"
        depends on (FB = y) && (MIPS_MAGNUM_4000 || OLIVETTI_M700)
 -      select FB_CFB_FILLRECT
 -      select FB_CFB_COPYAREA
 -      select FB_CFB_IMAGEBLIT
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
        help
          The G364 driver is the framebuffer used in MIPS Magnum 4000 and
          Olivetti M700-10 systems.
  config FB_68328
        bool "Motorola 68328 native frame buffer support"
        depends on (FB = y) && (M68328 || M68EZ328 || M68VZ328)
 -      select FB_CFB_FILLRECT
 -      select FB_CFB_COPYAREA
 -      select FB_CFB_IMAGEBLIT
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
        help
          Say Y here if you want to support the built-in frame buffer of
          the Motorola 68328 CPU family.
@@@ -1804,13 -1808,13 +1800,13 @@@ config FB_MB
          Accelerator
  
  config FB_MBX_DEBUG
 -       bool "Enable debugging info via debugfs"
 -       depends on FB_MBX && DEBUG_FS
 -       ---help---
 -         Enable this if you want debugging information using the debug
 -         filesystem (debugfs)
 +      bool "Enable debugging info via debugfs"
 +      depends on FB_MBX && DEBUG_FS
 +      ---help---
 +        Enable this if you want debugging information using the debug
 +        filesystem (debugfs)
  
 -         If unsure, say N.
 +        If unsure, say N.
  
  config FB_FSL_DIU
        tristate "Freescale DIU framebuffer support"
  config FB_W100
        tristate "W100 frame buffer support"
        depends on FB && ARCH_PXA
 -      select FB_CFB_FILLRECT
 -      select FB_CFB_COPYAREA
 -      select FB_CFB_IMAGEBLIT
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
        ---help---
          Frame buffer driver for the w100 as found on the Sharp SL-Cxx series.
          It can also drive the w3220 chip found on iPAQ hx4700.
@@@ -1893,10 -1897,10 +1889,10 @@@ config FB_S3
          Currently the support is only for the S3C6400 and S3C6410 SoCs.
  
  config FB_S3C_DEBUG_REGWRITE
 -       bool "Debug register writes"
 -       depends on FB_S3C
 -       ---help---
 -         Show all register writes via pr_debug()
 +      bool "Debug register writes"
 +      depends on FB_S3C
 +      ---help---
 +        Show all register writes via pr_debug()
  
  config FB_S3C2410
        tristate "S3C2410 LCD framebuffer support"
@@@ -1922,18 -1926,18 +1918,18 @@@ config FB_S3C2410_DEBU
          through sysfs
  
  config FB_NUC900
 -        tristate "NUC900 LCD framebuffer support"
 -        depends on FB && ARCH_W90X900
 -        select FB_CFB_FILLRECT
 -        select FB_CFB_COPYAREA
 -        select FB_CFB_IMAGEBLIT
 -        ---help---
 -          Frame buffer driver for the built-in LCD controller in the Nuvoton
 -          NUC900 processor
 +      tristate "NUC900 LCD framebuffer support"
 +      depends on FB && ARCH_W90X900
 +      select FB_CFB_FILLRECT
 +      select FB_CFB_COPYAREA
 +      select FB_CFB_IMAGEBLIT
 +      ---help---
 +        Frame buffer driver for the built-in LCD controller in the Nuvoton
 +        NUC900 processor
  
  config GPM1040A0_320X240
 -        bool "Giantplus Technology GPM1040A0 320x240 Color TFT LCD"
 -        depends on FB_NUC900
 +      bool "Giantplus Technology GPM1040A0 320x240 Color TFT LCD"
 +      depends on FB_NUC900
  
  config FB_SM501
        tristate "Silicon Motion SM501 framebuffer support"
@@@ -2175,7 -2179,7 +2171,7 @@@ config FB_EP93X
  
  config FB_PRE_INIT_FB
        bool "Don't reinitialize, use bootloader's GDC/Display configuration"
 -      depends on FB && FB_MB862XX_LIME
 +      depends on FB && (FB_MB862XX_LIME || FB_MXS)
        ---help---
          Select this option if display contents should be inherited as set by
          the bootloader.
@@@ -2184,7 -2188,6 +2180,6 @@@ config FB_MX
        tristate "MX3 Framebuffer support"
        depends on FB && MX3_IPU
        select BACKLIGHT_CLASS_DEVICE
-       select BACKLIGHT_LCD_SUPPORT
        select FB_CFB_FILLRECT
        select FB_CFB_COPYAREA
        select FB_CFB_IMAGEBLIT