diff options
author | iwasaki <iwasaki@FreeBSD.org> | 2000-09-21 13:01:19 +0000 |
---|---|---|
committer | iwasaki <iwasaki@FreeBSD.org> | 2000-09-21 13:01:19 +0000 |
commit | 01521915aad24a1f7a7a677f51b20a4fc3d5f64b (patch) | |
tree | a7d64361a111d1a44f724548c498b619a021719d | |
parent | 35f35e1ad199123662764c566b88de3e806c6ea3 (diff) | |
download | FreeBSD-src-01521915aad24a1f7a7a677f51b20a4fc3d5f64b.zip FreeBSD-src-01521915aad24a1f7a7a677f51b20a4fc3d5f64b.tar.gz |
Fix LINT breakage by options ACPI_NO_OSDFUNC_INLINE.
Also space/tab-fix in NOTE.
Grrr, my bad.
Pointed-out by: eivind
-rw-r--r-- | sys/conf/NOTES | 8 | ||||
-rw-r--r-- | sys/dev/acpi/aml/aml_common.c | 3 | ||||
-rw-r--r-- | sys/i386/conf/NOTES | 8 | ||||
-rw-r--r-- | usr.sbin/acpi/amldb/aml/aml_common.c | 3 |
4 files changed, 14 insertions, 8 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES index 3555733..c2b94ab 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -1239,10 +1239,10 @@ hint.npx.0.irq="13" # ACPI Experimental Driver device acpi -options ACPI_DEBUG -options AML_DEBUG -options ACPI_NO_ENABLE_ON_BOOT -options ACPI_NO_OSDFUNC_INLINE +options ACPI_DEBUG +options AML_DEBUG +options ACPI_NO_ENABLE_ON_BOOT +options ACPI_NO_OSDFUNC_INLINE # # Optional devices: diff --git a/sys/dev/acpi/aml/aml_common.c b/sys/dev/acpi/aml/aml_common.c index fe98e1e..4721b7f 100644 --- a/sys/dev/acpi/aml/aml_common.c +++ b/sys/dev/acpi/aml/aml_common.c @@ -42,7 +42,10 @@ #include <sys/kernel.h> #include <sys/sysctl.h> #include <sys/systm.h> +#include <sys/acpi.h> +#ifndef ACPI_NO_OSDFUNC_INLINE #include <machine/acpica_osd.h> +#endif /* !ACPI_NO_OSDFUNC_INLINE */ #endif /* !_KERNEL */ #include <dev/acpi/aml/aml_common.h> diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES index 3555733..c2b94ab 100644 --- a/sys/i386/conf/NOTES +++ b/sys/i386/conf/NOTES @@ -1239,10 +1239,10 @@ hint.npx.0.irq="13" # ACPI Experimental Driver device acpi -options ACPI_DEBUG -options AML_DEBUG -options ACPI_NO_ENABLE_ON_BOOT -options ACPI_NO_OSDFUNC_INLINE +options ACPI_DEBUG +options AML_DEBUG +options ACPI_NO_ENABLE_ON_BOOT +options ACPI_NO_OSDFUNC_INLINE # # Optional devices: diff --git a/usr.sbin/acpi/amldb/aml/aml_common.c b/usr.sbin/acpi/amldb/aml/aml_common.c index fe98e1e..4721b7f 100644 --- a/usr.sbin/acpi/amldb/aml/aml_common.c +++ b/usr.sbin/acpi/amldb/aml/aml_common.c @@ -42,7 +42,10 @@ #include <sys/kernel.h> #include <sys/sysctl.h> #include <sys/systm.h> +#include <sys/acpi.h> +#ifndef ACPI_NO_OSDFUNC_INLINE #include <machine/acpica_osd.h> +#endif /* !ACPI_NO_OSDFUNC_INLINE */ #endif /* !_KERNEL */ #include <dev/acpi/aml/aml_common.h> |