diff options
Diffstat (limited to 'drivers/video/xen-fbfront.c')
-rw-r--r-- | drivers/video/xen-fbfront.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/xen-fbfront.c b/drivers/video/xen-fbfront.c index 2493f05e9f61..15502d5e3641 100644 --- a/drivers/video/xen-fbfront.c +++ b/drivers/video/xen-fbfront.c | |||
@@ -384,7 +384,7 @@ static int __devinit xenfb_probe(struct xenbus_device *dev, | |||
384 | fb_size = XENFB_DEFAULT_FB_LEN; | 384 | fb_size = XENFB_DEFAULT_FB_LEN; |
385 | } | 385 | } |
386 | 386 | ||
387 | dev->dev.driver_data = info; | 387 | dev_set_drvdata(&dev->dev, info); |
388 | info->xbdev = dev; | 388 | info->xbdev = dev; |
389 | info->irq = -1; | 389 | info->irq = -1; |
390 | info->x1 = info->y1 = INT_MAX; | 390 | info->x1 = info->y1 = INT_MAX; |
@@ -503,7 +503,7 @@ xenfb_make_preferred_console(void) | |||
503 | 503 | ||
504 | static int xenfb_resume(struct xenbus_device *dev) | 504 | static int xenfb_resume(struct xenbus_device *dev) |
505 | { | 505 | { |
506 | struct xenfb_info *info = dev->dev.driver_data; | 506 | struct xenfb_info *info = dev_get_drvdata(&dev->dev); |
507 | 507 | ||
508 | xenfb_disconnect_backend(info); | 508 | xenfb_disconnect_backend(info); |
509 | xenfb_init_shared_page(info, info->fb_info); | 509 | xenfb_init_shared_page(info, info->fb_info); |
@@ -512,7 +512,7 @@ static int xenfb_resume(struct xenbus_device *dev) | |||
512 | 512 | ||
513 | static int xenfb_remove(struct xenbus_device *dev) | 513 | static int xenfb_remove(struct xenbus_device *dev) |
514 | { | 514 | { |
515 | struct xenfb_info *info = dev->dev.driver_data; | 515 | struct xenfb_info *info = dev_get_drvdata(&dev->dev); |
516 | 516 | ||
517 | xenfb_disconnect_backend(info); | 517 | xenfb_disconnect_backend(info); |
518 | if (info->fb_info) { | 518 | if (info->fb_info) { |
@@ -621,7 +621,7 @@ static void xenfb_disconnect_backend(struct xenfb_info *info) | |||
621 | static void xenfb_backend_changed(struct xenbus_device *dev, | 621 | static void xenfb_backend_changed(struct xenbus_device *dev, |
622 | enum xenbus_state backend_state) | 622 | enum xenbus_state backend_state) |
623 | { | 623 | { |
624 | struct xenfb_info *info = dev->dev.driver_data; | 624 | struct xenfb_info *info = dev_get_drvdata(&dev->dev); |
625 | int val; | 625 | int val; |
626 | 626 | ||
627 | switch (backend_state) { | 627 | switch (backend_state) { |