diff options
| author | Len Brown <len.brown@intel.com> | 2009-07-28 16:45:54 -0400 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2009-08-28 19:57:27 -0400 |
| commit | a192a9580bcc41692be1f36b77c3b681827f566a (patch) | |
| tree | 8cf1637f87faa880fdffab62a701b47f699945f9 /drivers/acpi/internal.h | |
| parent | 2a4ab640d3c28c2952967e5f63ea495555bf2a5f (diff) | |
ACPI: Move definition of PREFIX from acpi_bus.h to internal..h
Linux/ACPI core files using internal.h all PREFIX "ACPI: ",
however, not all ACPI drivers use/want it -- and they
should not have to #undef PREFIX to define their own.
Add GPL commment to internal.h while we are there.
This does not change any actual console output,
asside from a whitespace fix.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/internal.h')
| -rw-r--r-- | drivers/acpi/internal.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h index 11a69b53004e..074cf8682d52 100644 --- a/drivers/acpi/internal.h +++ b/drivers/acpi/internal.h | |||
| @@ -1,4 +1,24 @@ | |||
| 1 | /* For use by Linux/ACPI infrastructure, not drivers */ | 1 | /* |
| 2 | * acpi/internal.h | ||
| 3 | * For use by Linux/ACPI infrastructure, not drivers | ||
| 4 | * | ||
| 5 | * Copyright (c) 2009, Intel Corporation. | ||
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify it | ||
| 8 | * under the terms and conditions of the GNU General Public License, | ||
| 9 | * version 2, as published by the Free Software Foundation. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
| 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
| 14 | * more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License along with | ||
| 17 | * this program; if not, write to the Free Software Foundation, Inc., | ||
| 18 | * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | ||
| 19 | */ | ||
| 20 | |||
| 21 | #define PREFIX "ACPI: " | ||
| 2 | 22 | ||
| 3 | int init_acpi_device_notify(void); | 23 | int init_acpi_device_notify(void); |
| 4 | int acpi_scan_init(void); | 24 | int acpi_scan_init(void); |
