Skip to content

Commit

Permalink
gpu: fix qxl missing crc32_le
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Dave Airlie committed Jan 14, 2014
1 parent 1302b23 commit c5416d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions drivers/gpu/drm/qxl/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ config DRM_QXL
select DRM_KMS_HELPER
select DRM_KMS_FB_HELPER
select DRM_TTM
select CRC32
help
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.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/qxl/qxl_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*/


#include "linux/crc32.h"
#include <linux/crc32.h>

#include "qxl_drv.h"
#include "qxl_object.h"
Expand Down

0 comments on commit c5416d6

Please sign in to comment.