Advertisement
Guest User

vmtools.linux-driver.c.patch

a guest
May 29th, 2013
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.65 KB | None | 0 0
  1. *** ./linux/driver.c    2012-10-31 23:59:58.000000000 +0000
  2. --- ./linux/driver.c    2013-05-29 07:12:46.757844464 +0000
  3. ***************
  4. *** 124,130 ****
  5.      .name     = "vmci",
  6.      .id_table = vmci_ids,
  7.      .probe = vmci_probe_device,
  8. !    .remove = __devexit_p(vmci_remove_device),
  9.   };
  10.  
  11.   #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19)
  12. --- 124,130 ----
  13.      .name     = "vmci",
  14.      .id_table = vmci_ids,
  15.      .probe = vmci_probe_device,
  16. !    .remove = vmci_remove_device,
  17.   };
  18.  
  19.   #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19)
  20. ***************
  21. *** 1750,1758 ****
  22.    *-----------------------------------------------------------------------------
  23.    */
  24.  
  25. ! static int __devinit
  26. ! vmci_probe_device(struct pci_dev *pdev,           // IN: vmci PCI device
  27. !                   const struct pci_device_id *id) // IN: matching device ID
  28.   {
  29.      unsigned int ioaddr;
  30.      unsigned int ioaddr_size;
  31. --- 1750,1756 ----
  32.    *-----------------------------------------------------------------------------
  33.    */
  34.  
  35. ! static int vmci_probe_device(struct pci_dev *pdev, const struct pci_device_id *id)
  36.   {
  37.      unsigned int ioaddr;
  38.      unsigned int ioaddr_size;
  39. ***************
  40. *** 1978,1985 ****
  41.    *-----------------------------------------------------------------------------
  42.    */
  43.  
  44. ! static void __devexit
  45. ! vmci_remove_device(struct pci_dev* pdev)
  46.   {
  47.      struct vmci_device *dev = pci_get_drvdata(pdev);
  48.  
  49. --- 1976,1982 ----
  50.    *-----------------------------------------------------------------------------
  51.    */
  52.  
  53. ! static void vmci_remove_device(struct pci_dev* pdev)
  54.   {
  55.      struct vmci_device *dev = pci_get_drvdata(pdev);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement