diff options
| author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-05-27 16:14:23 -0400 |
|---|---|---|
| committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:31:08 -0400 |
| commit | ee40fa0656a730491765545ff7550f3c1ceb0fbc (patch) | |
| tree | fd18764b7a60ccc1ca54b15a7611414d8974efbe /drivers/net | |
| parent | 9d9779e723a5d23b94abbe5bb7d1197921f6f3dd (diff) | |
drivers/net: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE
These were getting the macros from an implicit module.h
include via device.h, but we are planning to clean that up.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/net: Add export.h to wireless/brcm80211/brcmfmac/bcmsdh.c
This relatively recently added file uses EXPORT_SYMBOL and hence
needs export.h included so that it is compatible with the module.h
split up work.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/net')
66 files changed, 66 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_procfs.c b/drivers/net/bonding/bond_procfs.c index 95de93b90386..e1cce1ca387a 100644 --- a/drivers/net/bonding/bond_procfs.c +++ b/drivers/net/bonding/bond_procfs.c | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | #include <linux/proc_fs.h> | 1 | #include <linux/proc_fs.h> |
| 2 | #include <linux/export.h> | ||
| 2 | #include <net/net_namespace.h> | 3 | #include <net/net_namespace.h> |
| 3 | #include <net/netns/generic.h> | 4 | #include <net/netns/generic.h> |
| 4 | #include "bonding.h" | 5 | #include "bonding.h" |
diff --git a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c index da5a5d9b8aff..90ff1318cc05 100644 --- a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c +++ b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c | |||
| @@ -40,6 +40,7 @@ | |||
| 40 | #include <net/netevent.h> | 40 | #include <net/netevent.h> |
| 41 | #include <linux/highmem.h> | 41 | #include <linux/highmem.h> |
| 42 | #include <linux/vmalloc.h> | 42 | #include <linux/vmalloc.h> |
| 43 | #include <linux/export.h> | ||
| 43 | 44 | ||
| 44 | #include "common.h" | 45 | #include "common.h" |
| 45 | #include "regs.h" | 46 | #include "regs.h" |
diff --git a/drivers/net/ethernet/chelsio/cxgb3/l2t.c b/drivers/net/ethernet/chelsio/cxgb3/l2t.c index 41540978a173..70fec8b1140f 100644 --- a/drivers/net/ethernet/chelsio/cxgb3/l2t.c +++ b/drivers/net/ethernet/chelsio/cxgb3/l2t.c | |||
| @@ -35,6 +35,7 @@ | |||
| 35 | #include <linux/if_vlan.h> | 35 | #include <linux/if_vlan.h> |
| 36 | #include <linux/jhash.h> | 36 | #include <linux/jhash.h> |
| 37 | #include <linux/slab.h> | 37 | #include <linux/slab.h> |
| 38 | #include <linux/export.h> | ||
| 38 | #include <net/neighbour.h> | 39 | #include <net/neighbour.h> |
| 39 | #include "common.h" | 40 | #include "common.h" |
| 40 | #include "t3cdev.h" | 41 | #include "t3cdev.h" |
diff --git a/drivers/net/ethernet/chelsio/cxgb4/sge.c b/drivers/net/ethernet/chelsio/cxgb4/sge.c index ddc16985d0f6..140254c7cba9 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/sge.c +++ b/drivers/net/ethernet/chelsio/cxgb4/sge.c | |||
| @@ -40,6 +40,7 @@ | |||
| 40 | #include <linux/dma-mapping.h> | 40 | #include <linux/dma-mapping.h> |
| 41 | #include <linux/jiffies.h> | 41 | #include <linux/jiffies.h> |
| 42 | #include <linux/prefetch.h> | 42 | #include <linux/prefetch.h> |
| 43 | #include <linux/export.h> | ||
| 43 | #include <net/ipv6.h> | 44 | #include <net/ipv6.h> |
| 44 | #include <net/tcp.h> | 45 | #include <net/tcp.h> |
| 45 | #include "cxgb4.h" | 46 | #include "cxgb4.h" |
diff --git a/drivers/net/ethernet/mellanox/mlx4/alloc.c b/drivers/net/ethernet/mellanox/mlx4/alloc.c index 116cae334dad..8be20e7ea3d1 100644 --- a/drivers/net/ethernet/mellanox/mlx4/alloc.c +++ b/drivers/net/ethernet/mellanox/mlx4/alloc.c | |||
| @@ -34,6 +34,7 @@ | |||
| 34 | #include <linux/errno.h> | 34 | #include <linux/errno.h> |
| 35 | #include <linux/slab.h> | 35 | #include <linux/slab.h> |
| 36 | #include <linux/mm.h> | 36 | #include <linux/mm.h> |
| 37 | #include <linux/export.h> | ||
| 37 | #include <linux/bitmap.h> | 38 | #include <linux/bitmap.h> |
| 38 | #include <linux/dma-mapping.h> | 39 | #include <linux/dma-mapping.h> |
| 39 | #include <linux/vmalloc.h> | 40 | #include <linux/vmalloc.h> |
diff --git a/drivers/net/ethernet/mellanox/mlx4/cmd.c b/drivers/net/ethernet/mellanox/mlx4/cmd.c index 23cee7b6af91..78f5a1a0b8c8 100644 --- a/drivers/net/ethernet/mellanox/mlx4/cmd.c +++ b/drivers/net/ethernet/mellanox/mlx4/cmd.c | |||
| @@ -34,6 +34,7 @@ | |||
| 34 | 34 | ||
| 35 | #include <linux/sched.h> | 35 | #include <linux/sched.h> |
| 36 | #include <linux/slab.h> | 36 | #include <linux/slab.h> |
| 37 | #include <linux/export.h> | ||
| 37 | #include <linux/pci.h> | 38 | #include <linux/pci.h> |
| 38 | #include <linux/errno.h> | 39 | #include <linux/errno.h> |
| 39 | 40 | ||
diff --git a/drivers/net/ethernet/mellanox/mlx4/cq.c b/drivers/net/ethernet/mellanox/mlx4/cq.c index bd8ef9f2fa71..499a5168892a 100644 --- a/drivers/net/ethernet/mellanox/mlx4/cq.c +++ b/drivers/net/ethernet/mellanox/mlx4/cq.c | |||
| @@ -35,6 +35,7 @@ | |||
| 35 | */ | 35 | */ |
| 36 | 36 | ||
| 37 | #include <linux/hardirq.h> | ||
