Skip to content
Browse files

Fix kapitest for the pci_driver thing - some kernel versions have drm…

…_driver.pci_driver, but drm_pci_init() doesn't use it, and drm_pci_exit() doesn't even exist...
  • Loading branch information...
1 parent ea65e1a commit eb0724fc08ba7b7530d761189d867b5634d1e551 Shinpei Kato committed Oct 14, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 pscnv/kapitest/pci_driver.c
View
3 pscnv/kapitest/pci_driver.c
@@ -4,5 +4,6 @@
void dummy(void)
{
struct drm_driver driver;
- driver.pci_driver = 0;
+ /* driver.pci_driver = 0;*/
+ drm_exit(&driver);
}

0 comments on commit eb0724f

Please sign in to comment.
Something went wrong with that request. Please try again.