Commit a14bc107 authored by Vegard Nossum's avatar Vegard Nossum Committed by Dave Airlie

drm/panel: olimex-lcd-olinuxino: select CRC32

Fix the following build/link error by adding a dependency on the CRC32
routines:

  ld: drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.o: in function `lcd_olinuxino_probe':
  panel-olimex-lcd-olinuxino.c:(.text+0x303): undefined reference to `crc32_le'

Fixes: 17fd7a9d ("drm/panel: Add support for Olimex LCD-OLinuXino panel")
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarVegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211012115242.10325-1-vegard.nossum@oracle.comSigned-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 1a361b41
...@@ -295,6 +295,7 @@ config DRM_PANEL_OLIMEX_LCD_OLINUXINO ...@@ -295,6 +295,7 @@ config DRM_PANEL_OLIMEX_LCD_OLINUXINO
depends on OF depends on OF
depends on I2C depends on I2C
depends on BACKLIGHT_CLASS_DEVICE depends on BACKLIGHT_CLASS_DEVICE
select CRC32
help help
The panel is used with different sizes LCDs, from 480x272 to The panel is used with different sizes LCDs, from 480x272 to
1280x800, and 24 bit per pixel. 1280x800, and 24 bit per pixel.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment