diff options
Diffstat (limited to 'backport/compat')
-rw-r--r-- | backport/compat/compat-2.6.25.c | 8 | ||||
-rw-r--r-- | backport/compat/compat-2.6.26.c | 2 | ||||
-rw-r--r-- | backport/compat/compat-3.6.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/backport/compat/compat-2.6.25.c b/backport/compat/compat-2.6.25.c index 20cc3dbd..dfd489b6 100644 --- a/backport/compat/compat-2.6.25.c +++ b/backport/compat/compat-2.6.25.c @@ -79,7 +79,7 @@ void __sg_free_table(struct sg_table *table, unsigned int max_ents, table->sgl = NULL; } -EXPORT_SYMBOL(__sg_free_table); +EXPORT_SYMBOL_GPL(__sg_free_table); /** * sg_free_table - Free a previously allocated sg table @@ -90,7 +90,7 @@ void sg_free_table(struct sg_table *table) { __sg_free_table(table, SG_MAX_SINGLE_ALLOC, sg_kfree); } -EXPORT_SYMBOL(sg_free_table); +EXPORT_SYMBOL_GPL(sg_free_table); /** * __sg_alloc_table - Allocate and initialize an sg table with given allocator @@ -175,7 +175,7 @@ int __sg_alloc_table(struct sg_table *table, unsigned int nents, return 0; } -EXPORT_SYMBOL(__sg_alloc_table); +EXPORT_SYMBOL_GPL(__sg_alloc_table); /** * sg_alloc_table - Allocate and initialize an sg table @@ -199,7 +199,7 @@ int sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) return ret; } -EXPORT_SYMBOL(sg_alloc_table); +EXPORT_SYMBOL_GPL(sg_alloc_table); /* diff --git a/backport/compat/compat-2.6.26.c b/backport/compat/compat-2.6.26.c index 9063a6aa..823e9a59 100644 --- a/backport/compat/compat-2.6.26.c +++ b/backport/compat/compat-2.6.26.c @@ -18,7 +18,7 @@ #include <net/compat.h> const char hex_asc[] = "0123456789abcdef"; -EXPORT_SYMBOL(hex_asc); +EXPORT_SYMBOL_GPL(hex_asc); /* 2.6.24 does not have the struct kobject with a name */ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)) diff --git a/backport/compat/compat-3.6.c b/backport/compat/compat-3.6.c index 05954d45..53991eea 100644 --- a/backport/compat/compat-3.6.c +++ b/backport/compat/compat-3.6.c @@ -45,7 +45,7 @@ int __i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num) return ret; } -EXPORT_SYMBOL(__i2c_transfer); +EXPORT_SYMBOL_GPL(__i2c_transfer); #endif /** |