]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/video/cyber2000fb.c
VIDEO: cyberpro: update handling of device structures
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 1 Aug 2010 09:18:29 +0000 (10:18 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 11 Feb 2011 10:16:06 +0000 (10:16 +0000)
commit24d6e5cb191189531396870402bf276aacf01598
treefc10e45c665963b080b3e770e52bbef412600d95
parentb7ca01a9b20e3fdd11745227905e9ad8a99e0123
VIDEO: cyberpro: update handling of device structures

Provide the framebuffer device with its correct parent (the PCI
device for PCI connected cards.)  Also, use this struct device to
pass to sub-drivers rather than the pci_dev structure, which is
really what they want.  Also propagate the assigned IRQ, which
they were getting direct from the PCI device structure.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/video/cyber2000fb.c
drivers/video/cyber2000fb.h