klez

rtsx.c (rts_bpp) patch ~kern 3.13.5

Mar 17th, 2014
700
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. *** rtsx.c 2011-12-05 04:41:04.000000000 +0100
  2. --- rtsx.c 2014-03-17 20:15:20.646775748 +0100
  3. ***************
  4. *** 256,262 ****
  5.  
  6. .name = CR_DRIVER_NAME,
  7. .proc_name = CR_DRIVER_NAME,
  8. ! .proc_info = proc_info,
  9. .info = host_info,
  10.  
  11.  
  12. --- 256,262 ----
  13.  
  14. .name = CR_DRIVER_NAME,
  15. .proc_name = CR_DRIVER_NAME,
  16. ! // .proc_info = proc_info,
  17. .info = host_info,
  18.  
  19.  
  20. ***************
  21. *** 890,896 ****
  22. chip->handshake_en = 1;
  23. }
  24.  
  25. ! static int __devinit rtsx_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
  26. {
  27. struct Scsi_Host *host;
  28. struct rtsx_dev *dev;
  29. --- 890,896 ----
  30. chip->handshake_en = 1;
  31. }
  32.  
  33. ! static int /* __devinit */ rtsx_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
  34. {
  35. struct Scsi_Host *host;
  36. struct rtsx_dev *dev;
  37. ***************
  38. *** 1045,1051 ****
  39. }
  40.  
  41.  
  42. ! static void __devexit rtsx_remove(struct pci_dev *pci)
  43. {
  44. struct rtsx_dev *dev = (struct rtsx_dev *)pci_get_drvdata(pci);
  45.  
  46. --- 1045,1051 ----
  47. }
  48.  
  49.  
  50. ! static void /* __devexit */ rtsx_remove(struct pci_dev *pci)
  51. {
  52. struct rtsx_dev *dev = (struct rtsx_dev *)pci_get_drvdata(pci);
  53.  
  54. ***************
  55. *** 1071,1077 ****
  56. .name = CR_DRIVER_NAME,
  57. .id_table = rts_bpp_ids,
  58. .probe = rtsx_probe,
  59. ! .remove = __devexit_p(rtsx_remove),
  60. #ifdef CONFIG_PM
  61. .suspend = rtsx_suspend,
  62. .resume = rtsx_resume,
  63. --- 1071,1078 ----
  64. .name = CR_DRIVER_NAME,
  65. .id_table = rts_bpp_ids,
  66. .probe = rtsx_probe,
  67. ! // .remove = __devexit_p(rtsx_remove),
  68. ! .remove = rtsx_remove,
  69. #ifdef CONFIG_PM
  70. .suspend = rtsx_suspend,
  71. .resume = rtsx_resume,
RAW Paste Data