diff options
author | Dave Airlie <airlied@redhat.com> | 2012-03-16 09:28:03 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-03-16 09:28:03 +0000 |
commit | 2de6d4a9e46c9bb038e9970628ed4b8e199ffda3 (patch) | |
tree | b30bd0efa71a0047569aecd839d68a160e4061b2 /drivers/gpu/drm/drm_usb.c | |
parent | 5320918b9a87865223fd6b228e530bf30bc64d9d (diff) | |
download | linux-3.10-2de6d4a9e46c9bb038e9970628ed4b8e199ffda3.tar.gz linux-3.10-2de6d4a9e46c9bb038e9970628ed4b8e199ffda3.tar.bz2 linux-3.10-2de6d4a9e46c9bb038e9970628ed4b8e199ffda3.zip |
drm: fix build with UDL if USB is a module
reported by sfr on -next merge.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_usb.c')
-rw-r--r-- | drivers/gpu/drm/drm_usb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_usb.c b/drivers/gpu/drm/drm_usb.c index 445003f4dc9..c8c83dad2ce 100644 --- a/drivers/gpu/drm/drm_usb.c +++ b/drivers/gpu/drm/drm_usb.c @@ -2,7 +2,6 @@ #include <linux/usb.h> #include <linux/export.h> -#ifdef CONFIG_USB int drm_get_usb_dev(struct usb_interface *interface, const struct usb_device_id *id, struct drm_driver *driver) @@ -115,4 +114,3 @@ void drm_usb_exit(struct drm_driver *driver, usb_deregister(udriver); } EXPORT_SYMBOL(drm_usb_exit); -#endif |