diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-07-05 20:04:11 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-07-13 03:52:53 -0400 |
commit | c91a793f66d5b06292aa431ae3a36c8aca991fa3 (patch) | |
tree | 6734f4a535e27b7a14ec913b772464f2a4a222d1 /drivers/video/udlfb.c | |
parent | 945903c7a477784e796168ef87b5022241cb52b5 (diff) |
drivers/video/udlfb bind framebuffer to interface.
Udlfb has been binding the framebuffer device to its parent, which
isn't correct and causes confusion with operations like udev remove.
Coming plug and play multiseat support is dependent on this fix.
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/udlfb.c')
-rw-r--r-- | drivers/video/udlfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/udlfb.c b/drivers/video/udlfb.c index 816a4fda04f5..c6584c9f235a 100644 --- a/drivers/video/udlfb.c +++ b/drivers/video/udlfb.c | |||
@@ -1549,7 +1549,7 @@ static int dlfb_usb_probe(struct usb_interface *interface, | |||
1549 | /* We don't register a new USB class. Our client interface is fbdev */ | 1549 | /* We don't register a new USB class. Our client interface is fbdev */ |
1550 | 1550 | ||
1551 | /* allocates framebuffer driver structure, not framebuffer memory */ | 1551 | /* allocates framebuffer driver structure, not framebuffer memory */ |
1552 | info = framebuffer_alloc(0, &usbdev->dev); | 1552 | info = framebuffer_alloc(0, &interface->dev); |
1553 | if (!info) { | 1553 | if (!info) { |
1554 | retval = -ENOMEM; | 1554 | retval = -ENOMEM; |
1555 | pr_err("framebuffer_alloc failed\n"); | 1555 | pr_err("framebuffer_alloc failed\n"); |