Skip to content

Commit

Permalink
acpi: add export.h to files using THIS_MODULE/EXPORT_SYMBOL
Browse files Browse the repository at this point in the history
These files were relying on module.h to come in via the path
in an include/acpi header file, but we don't want to have
instances of module.h being included from include/* files
if it can be avoided.  Have the files include export.h instead.

Signed-off-by: Paul Gortmaker <[email protected]>
  • Loading branch information
Paul Gortmaker committed Oct 31, 2011
1 parent 067d756 commit 214f2c9
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/acpi/acpica/evxface.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
* POSSIBILITY OF SUCH DAMAGES.
*/

#include <linux/export.h>
#include <acpi/acpi.h>
#include "accommon.h"
#include "acnamesp.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/acpica/evxfevnt.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
* POSSIBILITY OF SUCH DAMAGES.
*/

#include <linux/export.h>
#include <acpi/acpi.h>
#include "accommon.h"
#include "actables.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/acpica/evxfgpe.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
* POSSIBILITY OF SUCH DAMAGES.
*/

#include <linux/export.h>
#include <acpi/acpi.h>
#include "accommon.h"
#include "acevents.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/acpica/evxfregn.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
* POSSIBILITY OF SUCH DAMAGES.
*/

#include <linux/export.h>
#include <acpi/acpi.h>
#include "accommon.h"
#include "acnamesp.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/acpica/hwtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
* POSSIBILITY OF SUCH DAMAGES.
*/

#include <linux/export.h>
#include <acpi/acpi.h>
#include "accommon.h"

Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/acpica/hwxface.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
* POSSIBILITY OF SUCH DAMAGES.
*/

#include <linux/export.h>
#include <acpi/acpi.h>
#include "accommon.h"
#include "acnamesp.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/acpica/nsxfeval.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
* POSSIBILITY OF SUCH DAMAGES.
*/

#include <linux/export.h>
#include <acpi/acpi.h>
#include "accommon.h"
#include "acnamesp.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/acpica/nsxfname.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
* POSSIBILITY OF SUCH DAMAGES.
*/

#include <linux/export.h>
#include <acpi/acpi.h>
#include "accommon.h"
#include "acnamesp.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/acpica/nsxfobj.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
* POSSIBILITY OF SUCH DAMAGES.
*/

#include <linux/export.h>
#include <acpi/acpi.h>
#include "accommon.h"
#include "acnamesp.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/acpica/rsxface.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
* POSSIBILITY OF SUCH DAMAGES.
*/

#include <linux/export.h>
#include <acpi/acpi.h>
#include "accommon.h"
#include "acresrc.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/acpica/tbxface.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
* POSSIBILITY OF SUCH DAMAGES.
*/

#include <linux/export.h>
#include <acpi/acpi.h>
#include "accommon.h"
#include "acnamesp.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/acpica/utdebug.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
* POSSIBILITY OF SUCH DAMAGES.
*/

#include <linux/export.h>
#include <acpi/acpi.h>
#include "accommon.h"

Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/acpica/utdecode.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
* POSSIBILITY OF SUCH DAMAGES.
*/

#include <linux/export.h>
#include <acpi/acpi.h>
#include "accommon.h"
#include "acnamesp.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/acpica/utglobal.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@

#define DEFINE_ACPI_GLOBALS

#include <linux/export.h>
#include <acpi/acpi.h>
#include "accommon.h"

Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/acpica/utxface.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
* POSSIBILITY OF SUCH DAMAGES.
*/

#include <linux/export.h>
#include <acpi/acpi.h>
#include "accommon.h"
#include "acevents.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/acpica/utxferror.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
* POSSIBILITY OF SUCH DAMAGES.
*/

#include <linux/export.h>
#include <acpi/acpi.h>
#include "accommon.h"
#include "acnamesp.h"
Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* debugfs.c - ACPI debugfs interface to userspace.
*/

#include <linux/export.h>
#include <linux/init.h>
#include <linux/debugfs.h>
#include <acpi/acpi_drivers.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

#include <linux/spinlock.h>
#include <linux/export.h>
#include <linux/proc_fs.h>
#include <linux/init.h>
#include <linux/poll.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*
* This file is released under the GPLv2.
*/
#include <linux/export.h>
#include <linux/init.h>
#include <linux/list.h>
#include <linux/device.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/proc.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/export.h>
#include <linux/suspend.h>
#include <linux/bcd.h>
#include <asm/uaccess.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/processor_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Venkatesh Pallipadi <[email protected]>
* - Added _PDC for platforms with Intel CPUs
*/
#include <linux/export.h>
#include <linux/dmi.h>
#include <linux/slab.h>

Expand Down
1 change: 1 addition & 0 deletions drivers/acpi/video_detect.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
*
*/

#include <linux/export.h>
#include <linux/acpi.h>
#include <linux/dmi.h>
#include <linux/pci.h>
Expand Down

0 comments on commit 214f2c9

Please sign in to comment.