gpu: fix qxl missing crc32_le
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 20 Dec 2013 18:58:15 +0000 (10:58 -0800)
committerDave Airlie <airlied@redhat.com>
Tue, 14 Jan 2014 03:08:37 +0000 (13:08 +1000)
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>
drivers/gpu/drm/qxl/Kconfig
drivers/gpu/drm/qxl/qxl_display.c

index 037d324bf58f6ccfda14ff471f3c98b4405981a0..66ac0ff95f5a30408bf722b43e49e76138e74546 100644 (file)
@@ -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.
index b8f3bc7cf8f0b80eecb3b31077599a6cf168bfde..798bde2e5881db484fd3797013aa11a04f11c902 100644 (file)
@@ -24,7 +24,7 @@
  */
 
 
-#include "linux/crc32.h"
+#include <linux/crc32.h>
 
 #include "qxl_drv.h"
 #include "qxl_object.h"