Skip to content

Commit

Permalink
ARM: SAMSUNG: inclusion export.h instead of module.h
Browse files Browse the repository at this point in the history
Only for THIS_MODULE, the <linux/export.h> file should be
added instead of <linux/module.h>.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Kukjin Kim committed Nov 16, 2011
1 parent 12b248e commit a69e4c2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c64xx/mach-crag6410-module.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* published by the Free Software Foundation.
*/

#include <linux/module.h>
#include <linux/export.h>
#include <linux/interrupt.h>
#include <linux/i2c.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/plat-s3c24xx/cpu-freq-debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/

#include <linux/init.h>
#include <linux/module.h>
#include <linux/export.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/cpufreq.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/plat-samsung/pd.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

#include <linux/init.h>
#include <linux/module.h>
#include <linux/export.h>
#include <linux/platform_device.h>
#include <linux/err.h>
#include <linux/pm_runtime.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/plat-samsung/pwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the Free Software Foundation; either version 2 of the License.
*/

#include <linux/module.h>
#include <linux/export.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
Expand Down

0 comments on commit a69e4c2

Please sign in to comment.