diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-08-09 11:05:22 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:31:01 -0400 |
commit | 8dc7a9c84fbeb8825d19c18e9d8c6fce416c473f (patch) | |
tree | 1ecfcd5318a1772824c307363f10b644c0126dc4 /arch/blackfin | |
parent | 6caddf0a7476a1595b7ff83aabd510a87d934095 (diff) |
blackfin: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE
These particular files were just assuming that module.h was
somehow in the include paths. Give them the more minimalist
header file explicitly.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/kernel/dma-mapping.c | 1 | ||||
-rw-r--r-- | arch/blackfin/kernel/perf_event.c | 1 | ||||
-rw-r--r-- | arch/blackfin/kernel/sys_bfin.c | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf518/boards/ezbrd.c | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ad7160eval.c | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf527/boards/cm_bf527.c | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezbrd.c | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezkit.c | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf527/boards/tll6527m.c | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/cm_bf537e.c | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/cm_bf537u.c | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/dnp5370.c | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/pnav10.c | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/tcm_bf537.c | 1 | ||||
-rw-r--r-- | arch/blackfin/mm/init.c | 1 |
16 files changed, 16 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/dma-mapping.c b/arch/blackfin/kernel/dma-mapping.c index 04ddcfeb798..f0d1118f182 100644 --- a/arch/blackfin/kernel/dma-mapping.c +++ b/arch/blackfin/kernel/dma-mapping.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <linux/spinlock.h> | 12 | #include <linux/spinlock.h> |
13 | #include <linux/dma-mapping.h> | 13 | #include <linux/dma-mapping.h> |
14 | #include <linux/scatterlist.h> | 14 | #include <linux/scatterlist.h> |
15 | #include <linux/export.h> | ||
15 | 16 | ||
16 | static spinlock_t dma_page_lock; | 17 | static spinlock_t dma_page_lock; |
17 | static unsigned long *dma_page; | 18 | static unsigned long *dma_page; |
diff --git a/arch/blackfin/kernel/perf_event.c b/arch/blackfin/kernel/perf_event.c index 04300f29c0e..e47d19ae3e0 100644 --- a/arch/blackfin/kernel/perf_event.c +++ b/arch/blackfin/kernel/perf_event.c | |||
@@ -24,6 +24,7 @@ | |||
24 | */ | 24 | */ |
25 | 25 | ||
26 | #include <linux/kernel.h> | 26 | #include <linux/kernel.h> |
27 | #include <linux/export.h> | ||
27 | #include <linux/init.h> | 28 | #include <linux/init.h> |
28 | #include <linux/perf_event.h> | 29 | #include <linux/perf_event.h> |
29 | #include <asm/bfin_pfmon.h> | 30 | #include <asm/bfin_pfmon.h> |
diff --git a/arch/blackfin/kernel/sys_bfin.c b/arch/blackfin/kernel/sys_bfin.c index 89448ed7065..d998383cb95 100644 --- a/arch/blackfin/kernel/sys_bfin.c +++ b/arch/blackfin/kernel/sys_bfin.c | |||
@@ -41,6 +41,7 @@ asmlinkage void *sys_dma_memcpy(void *dest, const void *src, size_t len) | |||
41 | 41 | ||
42 | #if defined(CONFIG_FB) || defined(CONFIG_FB_MODULE) | 42 | #if defined(CONFIG_FB) || defined(CONFIG_FB_MODULE) |
43 | #include <linux/fb.h> | 43 | #include <linux/fb.h> |
44 | #include <linux/export.h> | ||
44 | unsigned long get_fb_unmapped_area(struct file *filp, unsigned long orig_addr, | 45 | unsigned long get_fb_unmapped_area(struct file *filp, unsigned long orig_addr, |
45 | unsigned long len, unsigned long pgoff, unsigned long flags) | 46 | unsigned long len, unsigned long pgoff, unsigned long flags) |
46 | { | 47 | { |
diff --git a/arch/blackfin/mach-bf518/boards/ezbrd.c b/arch/blackfin/mach-bf518/boards/ezbrd.c index d78fc2cc7d1..1082e49f7a9 100644 --- a/arch/blackfin/mach-bf518/boards/ezbrd.c +++ b/arch/blackfin/mach-bf518/boards/ezbrd.c | |||
@@ -7,6 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <linux/device.h> | 9 | #include <linux/device.h> |
10 | #include <linux/export.h> | ||
10 | #include <linux/platform_device.h> | 11 | #include <linux/platform_device.h> |
11 | #include <linux/mtd/mtd.h> | 12 | #include <linux/mtd/mtd.h> |
12 | #include <linux/mtd/partitions.h> | 13 | #include <linux/mtd/partitions.h> |
diff --git a/arch/blackfin/mach-bf527/boards/ad7160eval.c b/arch/blackfin/mach-bf527/boards/ad7160eval.c index c04df43f639..8d65d476f11 100644 --- a/arch/blackfin/mach-bf527/boards/ad7160eval.c +++ b/arch/blackfin/mach-bf527/boards/ad7160eval.c | |||
@@ -7,6 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <linux/device.h> | 9 | #include <linux/device.h> |
10 | #include <linux/export.h> | ||
10 | #include <linux/platform_device.h> | 11 | #include <linux/platform_device.h> |
11 | #include <linux/mtd/mtd.h> | 12 | #include <linux/mtd/mtd.h> |
12 | #include <linux/mtd/partitions.h> | 13 | #include <linux/mtd/partitions.h> |
diff --git a/arch/blackfin/mach-bf527/boards/cm_bf527.c b/arch/blackfin/mach-bf527/boards/cm_bf527.c index 6400341cc23..6410fc1af8e 100644 --- a/arch/blackfin/mach-bf527/boards/cm_bf527.c +++ b/arch/blackfin/mach-bf527/boards/cm_bf527.c | |||
@@ -801,6 +801,7 @@ static struct platform_device bfin_sport1_uart_device = { | |||
801 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | 801 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) |
802 | #include <linux/input.h> | 802 | #include <linux/input.h> |
803 | #include <linux/gpio_keys.h> | 803 | #include <linux/gpio_keys.h> |
804 | #include <linux/export.h> | ||
804 | 805 | ||
805 | static struct gpio_keys_button bfin_gpio_keys_table[] = { | 806 | static struct gpio_keys_button bfin_gpio_keys_table[] = { |
806 | {BTN_0, GPIO_PF14, 1, "gpio-keys: BTN0"}, | 807 | {BTN_0, GPIO_PF14, 1, "gpio-keys: BTN0"}, |
diff --git a/arch/blackfin/mach-bf527/boards/ezbrd.c b/arch/blackfin/mach-bf527/boards/ezbrd.c index 6dbb1b40376..64f7278aba5 100644 --- a/arch/blackfin/mach-bf527/boards/ezbrd.c +++ b/arch/blackfin/mach-bf527/boards/ezbrd.c | |||
@@ -674,6 +674,7 @@ static struct platform_device bfin_sport1_uart_device = { | |||
674 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | 674 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) |
675 | #include <linux/input.h> | 675 | #include <linux/input.h> |
676 | #include <linux/gpio_keys.h> | 676 | #include <linux/gpio_keys.h> |
677 | #include <linux/export.h> | ||
677 | 678 | ||
678 | static struct gpio_keys_button bfin_gpio_keys_table[] = { | 679 | static struct gpio_keys_button bfin_gpio_keys_table[] = { |
679 | {BTN_0, GPIO_PG0, 1, "gpio-keys: BTN0"}, | 680 | {BTN_0, GPIO_PG0, 1, "gpio-keys: BTN0"}, |
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c index 4e9dc9cf824..e4c6a122b66 100644 --- a/arch/blackfin/mach-bf527/boards/ezkit.c +++ b/arch/blackfin/mach-bf527/boards/ezkit.c | |||
@@ -7,6 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <linux/device.h> | 9 | #include <linux/device.h> |
10 | #include <linux/export.h> | ||
10 | #include <linux/platform_device.h> | 11 | #include <linux/platform_device.h> |
11 | #include <linux/mtd/mtd.h> | 12 | #include <linux/mtd/mtd.h> |
12 | #include <linux/mtd/partitions.h> | 13 | #include <linux/mtd/partitions.h> |
diff --git a/arch/blackfin/mach-bf527/boards/tll6527m.c b/arch/blackfin/mach-bf527/boards/tll6527m.c index ec4bc7429c9..76dbc03a8d4 100644 --- a/arch/blackfin/mach-bf527/boards/tll6527m.c +++ b/arch/blackfin/mach-bf527/boards/tll6527m.c | |||
@@ -8,6 +8,7 @@ | |||
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/device.h> | 10 | #include <linux/device.h> |
11 | #include <linux/export.h> | ||
11 | #include <linux/platform_device.h> | 12 | #include <linux/platform_device.h> |
12 | #include <linux/mtd/mtd.h> | 13 | #include <linux/mtd/mtd.h> |
13 | #include <linux/mtd/partitions.h> | 14 | #include <linux/mtd/partitions.h> |
diff --git a/arch/blackfin/mach-bf537/boards/cm_bf537e.c b/arch/blackfin/mach-bf537/boards/cm_bf537e.c index 9fb20d6d8f9..1471c51ea69 100644 --- a/arch/blackfin/mach-bf537/boards/cm_bf537e.c +++ b/arch/blackfin/mach-bf537/boards/cm_bf537e.c | |||
@@ -569,6 +569,7 @@ static struct platform_device bfin_sport1_uart_device = { | |||
569 | 569 | ||
570 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | 570 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) |
571 | #include <linux/bfin_mac.h> | 571 | #include <linux/bfin_mac.h> |
572 | #include <linux/export.h> | ||
572 | static const unsigned short bfin_mac_peripherals[] = P_MII0; | 573 | static const unsigned short bfin_mac_peripherals[] = P_MII0; |
573 | 574 | ||
574 | static struct bfin_phydev_platform_data bfin_phydev_data[] = { | 575 | static struct bfin_phydev_platform_data bfin_phydev_data[] = { |
diff --git a/arch/blackfin/mach-bf537/boards/cm_bf537u.c b/arch/blackfin/mach-bf537/boards/cm_bf537u.c index 5ba389fc61a..47cf37de33b 100644 --- a/arch/blackfin/mach-bf537/boards/cm_bf537u.c +++ b/arch/blackfin/mach-bf537/boards/cm_bf537u.c | |||
@@ -534,6 +534,7 @@ static struct platform_device bfin_sport1_uart_device = { | |||
534 | 534 | ||
535 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | 535 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) |
536 | #include <linux/bfin_mac.h> | 536 | #include <linux/bfin_mac.h> |
537 | #include <linux/export.h> | ||
537 | static const unsigned short bfin_mac_peripherals[] = P_MII0; | 538 | static const unsigned short bfin_mac_peripherals[] = P_MII0; |
538 | 539 | ||
539 | static struct bfin_phydev_platform_data bfin_phydev_data[] = { | 540 | static struct bfin_phydev_platform_data bfin_phydev_data[] = { |
diff --git a/arch/blackfin/mach-bf537/boards/dnp5370.c b/arch/blackfin/mach-bf537/boards/dnp5370.c index 8bc951de979..33e69e427e9 100644 --- a/arch/blackfin/mach-bf537/boards/dnp5370.c +++ b/arch/blackfin/mach-bf537/boards/dnp5370.c | |||
@@ -49,6 +49,7 @@ static struct platform_device rtc_device = { | |||
49 | 49 | ||
50 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | 50 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) |
51 | #include <linux/bfin_mac.h> | 51 | #include <linux/bfin_mac.h> |
52 | #include <linux/export.h> | ||
52 | static const unsigned short bfin_mac_peripherals[] = P_RMII0; | 53 | static const unsigned short bfin_mac_peripherals[] = P_RMII0; |
53 | 54 | ||
54 | static struct bfin_phydev_platform_data bfin_phydev_data[] = { | 55 | static struct bfin_phydev_platform_data bfin_phydev_data[] = { |
diff --git a/arch/blackfin/mach-bf537/boards/pnav10.c b/arch/blackfin/mach-bf537/boards/pnav10.c index 3b8151d99b9..3099e91114f 100644 --- a/arch/blackfin/mach-bf537/boards/pnav10.c +++ b/arch/blackfin/mach-bf537/boards/pnav10.c | |||
@@ -100,6 +100,7 @@ static struct platform_device smc91x_device = { | |||
100 | 100 | ||
101 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | 101 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) |
102 | #include <linux/bfin_mac.h> | 102 | #include <linux/bfin_mac.h> |
103 | #include <linux/export.h> | ||
103 | static const unsigned short bfin_mac_peripherals[] = P_RMII0; | 104 | static const unsigned short bfin_mac_peripherals[] = P_RMII0; |
104 | 105 | ||
105 | static struct bfin_phydev_platform_data bfin_phydev_data[] = { | 106 | static struct bfin_phydev_platform_data bfin_phydev_data[] = { |
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 6c916a67ef6..27f955db997 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -1992,6 +1992,7 @@ static struct adp8870_backlight_platform_data adp8870_pdata = { | |||
1992 | 1992 | ||
1993 | #if defined(CONFIG_BACKLIGHT_ADP8860) || defined(CONFIG_BACKLIGHT_ADP8860_MODULE) | 1993 | #if defined(CONFIG_BACKLIGHT_ADP8860) || defined(CONFIG_BACKLIGHT_ADP8860_MODULE) |
1994 | #include <linux/i2c/adp8860.h> | 1994 | #include <linux/i2c/adp8860.h> |
1995 | #include <linux/export.h> | ||
1995 | static struct led_info adp8860_leds[] = { | 1996 | static struct led_info adp8860_leds[] = { |
1996 | { | 1997 | { |
1997 | .name = "adp8860-led7", | 1998 | .name = "adp8860-led7", |
diff --git a/arch/blackfin/mach-bf537/boards/tcm_bf537.c b/arch/blackfin/mach-bf537/boards/tcm_bf537.c index 2da0316d890..841803038d6 100644 --- a/arch/blackfin/mach-bf537/boards/tcm_bf537.c +++ b/arch/blackfin/mach-bf537/boards/tcm_bf537.c | |||
@@ -536,6 +536,7 @@ static struct platform_device bfin_sport1_uart_device = { | |||
536 | 536 | ||
537 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | 537 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) |
538 | #include <linux/bfin_mac.h> | 538 | #include <linux/bfin_mac.h> |
539 | #include <linux/export.h> | ||
539 | static const unsigned short bfin_mac_peripherals[] = P_MII0; | 540 | static const unsigned short bfin_mac_peripherals[] = P_MII0; |
540 | 541 | ||
541 | static struct bfin_phydev_platform_data bfin_phydev_data[] = { | 542 | static struct bfin_phydev_platform_data bfin_phydev_data[] = { |
diff --git a/arch/blackfin/mm/init.c b/arch/blackfin/mm/init.c index f8435cd36c7..78daae08491 100644 --- a/arch/blackfin/mm/init.c +++ b/arch/blackfin/mm/init.c | |||
@@ -8,6 +8,7 @@ | |||
8 | #include <linux/swap.h> | 8 | #include <linux/swap.h> |
9 | #include <linux/bootmem.h> | 9 | #include <linux/bootmem.h> |
10 | #include <linux/uaccess.h> | 10 | #include <linux/uaccess.h> |
11 | #include <linux/export.h> | ||
11 | #include <asm/bfin-global.h> | 12 | #include <asm/bfin-global.h> |
12 | #include <asm/pda.h> | 13 | #include <asm/pda.h> |
13 | #include <asm/cplbinit.h> | 14 | #include <asm/cplbinit.h> |