summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2013-04-19 03:01:55 +0200
committerDave Airlie <airlied@redhat.com>2013-05-01 01:45:21 +0200
commit33896bf3207d8812274747b8b96776d27082e580 (patch)
tree03f40ed404ff3a2b68dadb9c0c3266d44a2bb527 /drivers
parentdrm: prime: fix refcounting on the dmabuf import error path (diff)
downloadlinux-33896bf3207d8812274747b8b96776d27082e580.tar.xz
linux-33896bf3207d8812274747b8b96776d27082e580.zip
udl: bind the framebuffer to the correct device.
This just moves the fb sysfs node beside the drm sysfs node which I fixed before. just noticed it in passing. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/udl/udl_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/udl/udl_fb.c b/drivers/gpu/drm/udl/udl_fb.c
index 9f4be3d4a02e..dc0c065f8d39 100644
--- a/drivers/gpu/drm/udl/udl_fb.c
+++ b/drivers/gpu/drm/udl/udl_fb.c
@@ -482,7 +482,7 @@ static int udlfb_create(struct drm_fb_helper *helper,
struct udl_fbdev *ufbdev = (struct udl_fbdev *)helper;
struct drm_device *dev = ufbdev->helper.dev;
struct fb_info *info;
- struct device *device = &dev->usbdev->dev;
+ struct device *device = dev->dev;
struct drm_framebuffer *fb;
struct drm_mode_fb_cmd2 mode_cmd;
struct udl_gem_object *obj;