I couldn't load the udl-drm driver with most things built as a module, getting symbol resolution errors. Adding MODULE_LICENSE("GPL"); to drm_usb.c fixed this -Shawn Landden
>From c2db282071f4cc5fb730a13542982125d00144e0 Mon Sep 17 00:00:00 2001 From: Shawn Landden <shawnlandden@xxxxxxxxx> Date: Wed, 4 Apr 2012 23:06:05 -0700 Subject: [PATCH] add license to drm_udb --- drivers/gpu/drm/drm_usb.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/drm_usb.c b/drivers/gpu/drm/drm_usb.c index c8c83da..8bc7767 100644 --- a/drivers/gpu/drm/drm_usb.c +++ b/drivers/gpu/drm/drm_usb.c @@ -1,6 +1,15 @@ +/* + * Copyright (C) 2012 Red Hat + * + * This file is subject to the terms and conditions of the GNU General Public + * License v2. See the file COPYING in the main directory of this archive for + * more details. + */ + #include "drmP.h" #include <linux/usb.h> #include <linux/export.h> +#include <linux/module.h> int drm_get_usb_dev(struct usb_interface *interface, const struct usb_device_id *id, @@ -114,3 +123,6 @@ void drm_usb_exit(struct drm_driver *driver, usb_deregister(udriver); } EXPORT_SYMBOL(drm_usb_exit); + +MODULE_LICENSE("GPL"); + -- 1.7.9.5
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel