dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] gpu: fix qxl missing crc32_le
       [not found] <20131220172503.b2b7cb92f437d974f032e1a4@canb.auug.org.au>
@ 2013-12-20 18:58 ` Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2013-12-20 18:58 UTC (permalink / raw)
  To: Stephen Rothwell, linux-next; +Cc: linux-kernel, dri-devel, David Airlie, alevy

From: Randy Dunlap <rdunlap@infradead.org>

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>
---
 drivers/gpu/drm/qxl/Kconfig       |    1 +
 drivers/gpu/drm/qxl/qxl_display.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

--- linux-next-20131220.orig/drivers/gpu/drm/qxl/qxl_display.c
+++ linux-next-20131220/drivers/gpu/drm/qxl/qxl_display.c
@@ -24,7 +24,7 @@
  */
 
 
-#include "linux/crc32.h"
+#include <linux/crc32.h>
 
 #include "qxl_drv.h"
 #include "qxl_object.h"
--- linux-next-20131220.orig/drivers/gpu/drm/qxl/Kconfig
+++ linux-next-20131220/drivers/gpu/drm/qxl/Kconfig
@@ -8,6 +8,7 @@ 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-12-20 18:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20131220172503.b2b7cb92f437d974f032e1a4@canb.auug.org.au>
2013-12-20 18:58 ` [PATCH -next] gpu: fix qxl missing crc32_le Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).