Skip to contentSkip to conversation

drivers/pci/pci-acpi.c: possible cleanups

PATCH New Adrian Bunk 1 participant 1 message Mar 12, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/pci/pci-acpi.c: possible cleanups

This patch contains the following possible cleanups:
- pci-acpi.c: make OSC_UUID static
- remove the following unused functions:
- pci-acpi.c: acpi_query_osc
- pci-acpi.c: pci_osc_support_set
- remove the following unneeded EXPORT_SYMBOL's:
- pci-acpi.c: pci_osc_support_set

---

 drivers/pci/pci-acpi.c   |   97 ---------------------------------------
 include/linux/pci-acpi.h |    2 
 2 files changed, 1 insertion(+), 98 deletions(-)
include/linux/pci-acpi.h renamed from include/linux/pci-acpi.h.old +0 -2
@@ -48,14 +48,12 @@
 
 #ifdef CONFIG_ACPI
 extern acpi_status pci_osc_control_set(u32 flags);
-extern acpi_status pci_osc_support_set(u32 flags);
 #else
 #if !defined(acpi_status)
 typedef u32 		acpi_status;
 #define AE_ERROR      	(acpi_status) (0x0001)
 #endif    
 static inline acpi_status pci_osc_control_set(u32 flags) {return AE_ERROR;}
-static inline acpi_status pci_osc_support_set(u32 flags) {return AE_ERROR;} 
 #endif
 
 #endif	/* _PCI_ACPI_H_ */
drivers/pci/pci-acpi.c renamed from drivers/pci/pci-acpi.c.old +1 -96

109 lines not on this page · raw message

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click