bochs: convert to drm_dev_register
authorPeter Wu <peter@lekensteyn.nl>
Thu, 6 Sep 2018 22:18:09 +0000 (00:18 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 10 Sep 2018 05:10:38 +0000 (07:10 +0200)
commit7780eb9ce80f0ba509015351e45e97fbc7e1cdb8
tree4a372ce01666c8c7f34b334df538d95115863602
parentdf2052cc922136e98a5c8d9730f6a4fd0a958c94
bochs: convert to drm_dev_register

The drm_get_pci_dev API is deprecated, replace it by drm_dev_register.

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Link: http://patchwork.freedesktop.org/patch/msgid/20180906221810.20170-4-peter@lekensteyn.nl
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/bochs/bochs.h
drivers/gpu/drm/bochs/bochs_drv.c
drivers/gpu/drm/bochs/bochs_hw.c