Author: glen Date: Sat Feb 9 10:21:11 2008 GMT Module: SOURCES Tag: HEAD ---- Log message: - based on r1000-pci_module_init.patch
---- Files affected: SOURCES: b44-pci_module_init.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/b44-pci_module_init.patch diff -u /dev/null SOURCES/b44-pci_module_init.patch:1.1 --- /dev/null Sat Feb 9 11:21:11 2008 +++ SOURCES/b44-pci_module_init.patch Sat Feb 9 11:21:05 2008 @@ -0,0 +1,13 @@ +--- b44-1.00g/b44.h~ 2006-06-07 16:21:07.000000000 +0300 ++++ b44-1.00g/b44.h 2008-02-09 12:08:50.567339013 +0200 +@@ -65,6 +65,10 @@ + #define pci_dev_put(x) + #endif + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10) ++#define pci_module_init(x) pci_register_driver(x) ++#endif ++ + #if (LINUX_VERSION_CODE < 0x020547) + #define pci_set_consistent_dma_mask(pdev, mask) (0) + #endif ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
