From mboxrd@z Thu Jan 1 00:00:00 1970 From: shawn Subject: missing license in drm_usb prevents module loading Date: Fri, 13 Apr 2012 22:02:59 -0700 Message-ID: <1334379779.5404.12.camel@shawn-ssd> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-EOO4h9zz2pVFhrLFNXUl" Return-path: Received: from mail-pb0-f49.google.com (mail-pb0-f49.google.com [209.85.160.49]) by gabe.freedesktop.org (Postfix) with ESMTP id AAF37A0ED8 for ; Fri, 13 Apr 2012 22:03:01 -0700 (PDT) Received: by pbcun4 with SMTP id un4so4763001pbc.36 for ; Fri, 13 Apr 2012 22:03:01 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: David Airlie Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --=-EOO4h9zz2pVFhrLFNXUl Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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 --=-EOO4h9zz2pVFhrLFNXUl Content-Disposition: attachment; filename="0001-add-license-to-drm_udb.patch" Content-Type: text/x-patch; name="0001-add-license-to-drm_udb.patch"; charset="UTF-8" Content-Transfer-Encoding: 7bit >>From c2db282071f4cc5fb730a13542982125d00144e0 Mon Sep 17 00:00:00 2001 From: Shawn Landden 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 #include +#include 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 --=-EOO4h9zz2pVFhrLFNXUl Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --=-EOO4h9zz2pVFhrLFNXUl--