diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-10-13 11:38:24 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-10-13 11:38:24 +0000 |
commit | 74808bc8f59e9d6e3b2b6f0ea3838507f3bde5d3 (patch) | |
tree | 72e150a68ae718abe0324df3274b14e1db34ac88 /sys/dev/acpica | |
parent | bd0b79c8ebec45278ba6cb6c83cb311ca8ad3c80 (diff) | |
download | FreeBSD-src-74808bc8f59e9d6e3b2b6f0ea3838507f3bde5d3.zip FreeBSD-src-74808bc8f59e9d6e3b2b6f0ea3838507f3bde5d3.tar.gz |
Mark acpi_bus_number() as __unused. This allows clang to this file
without any warnings.
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r-- | sys/dev/acpica/Osd/OsdHardware.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/Osd/OsdHardware.c b/sys/dev/acpica/Osd/OsdHardware.c index ab5be43..c8cc76e 100644 --- a/sys/dev/acpica/Osd/OsdHardware.c +++ b/sys/dev/acpica/Osd/OsdHardware.c @@ -126,7 +126,7 @@ AcpiOsWritePciConfiguration (ACPI_PCI_ID *PciId, UINT32 Register, /* * Depth-first recursive case for finding the bus, given the slot/function. */ -static int +static int __unused acpi_bus_number(ACPI_HANDLE root, ACPI_HANDLE curr, ACPI_PCI_ID *PciId) { ACPI_HANDLE parent; |