Skip to content

Commit c5416d6

Browse files
rddunlapairlied
authored andcommitted
gpu: fix qxl missing crc32_le
Fix build error: qxl uses crc32 functions so it needs to select CRC32. Also use angle quotes around a kernel header file name. drivers/built-in.o: In function `qxl_display_read_client_monitors_config': (.text+0x19d754): undefined reference to `crc32_le' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent 1302b23 commit c5416d6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

drivers/gpu/drm/qxl/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ config DRM_QXL
88
select DRM_KMS_HELPER
99
select DRM_KMS_FB_HELPER
1010
select DRM_TTM
11+
select CRC32
1112
help
1213
QXL virtual GPU for Spice virtualization desktop integration. Do not enable this driver unless your distro ships a corresponding X.org QXL driver that can handle kernel modesetting.

drivers/gpu/drm/qxl/qxl_display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525

2626

27-
#include "linux/crc32.h"
27+
#include <linux/crc32.h>
2828

2929
#include "qxl_drv.h"
3030
#include "qxl_object.h"

0 commit comments

Comments
 (0)