Changeset 36070


Ignore:
Timestamp:
2013-03-17T20:45:48+01:00 (5 years ago)
Author:
florian
Message:

kernel: set regmap-core module license

Fixes the following issues:
[ 7.660000] regmap_core: module license 'unspecified' taints kernel
[ 7.690000] Disabling lock debugging due to kernel
[ 7.700000] regmap_core: Unknown symbol lzo1x_decompress_safe (err 0
[ 7.710000] regmap_core: Unknown symbol lzo1x_1_compress (err 0
[ 7.720000] regmap_core: Unknown symbol devres_add (err 0
[ 7.730000] regmap_core: Unknown symbol debugfs_create_bool (err 0
[ 7.750000] regmap_core: Unknown symbol devres_alloc (err 0
[ 7.760000] regmap_core: Unknown symbol debugfs_remove_recursive (err 0
[ 7.770000] regmap_core: Unknown symbol debugfs_create_file (err 0
[ 7.780000] regmap_core: Unknown symbol devres_free (err 0
[ 7.800000] regmap_core: Unknown symbol devres_find (err 0
[ 7.810000] regmap_core: Unknown symbol debugfs_create_dir (err 0)

Signed-off-by: Florian Fainelli <florian@…>

Location:
trunk/target/linux/generic
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/patches-3.3/270-regmap_dynamic.patch

    r35018 r36070  
    3737 obj-$(CONFIG_REGMAP_SPI) += regmap-spi.o 
    3838 obj-$(CONFIG_REGMAP_IRQ) += regmap-irq.o 
     39--- a/drivers/base/regmap/regmap.c 
     40+++ b/drivers/base/regmap/regmap.c 
     41@@ -13,6 +13,7 @@ 
     42 #include <linux/slab.h> 
     43 #include <linux/module.h> 
     44 #include <linux/mutex.h> 
     45+#include <linux/module.h> 
     46 #include <linux/err.h> 
     47  
     48 #define CREATE_TRACE_POINTS 
     49@@ -679,3 +680,5 @@ static int __init regmap_initcall(void) 
     50        return 0; 
     51 } 
     52 postcore_initcall(regmap_initcall); 
     53+ 
     54+MODULE_LICENSE("GPL"); 
  • trunk/target/linux/generic/patches-3.6/270-regmap_dynamic.patch

    r35016 r36070  
    5050 obj-$(CONFIG_REGMAP_SPI) += regmap-spi.o 
    5151 obj-$(CONFIG_REGMAP_MMIO) += regmap-mmio.o 
     52--- a/drivers/base/regmap/regmap.c 
     53+++ b/drivers/base/regmap/regmap.c 
     54@@ -13,6 +13,7 @@ 
     55 #include <linux/device.h> 
     56 #include <linux/slab.h> 
     57 #include <linux/export.h> 
     58+#include <linux/module.h> 
     59 #include <linux/mutex.h> 
     60 #include <linux/err.h> 
     61 #include <linux/rbtree.h> 
     62@@ -1418,3 +1419,5 @@ static int __init regmap_initcall(void) 
     63        return 0; 
     64 } 
     65 postcore_initcall(regmap_initcall); 
     66+ 
     67+MODULE_LICENSE("GPL"); 
  • trunk/target/linux/generic/patches-3.7/259-regmap_dynamic.patch

    r35016 r36070  
    5454 obj-$(CONFIG_REGMAP_SPI) += regmap-spi.o 
    5555 obj-$(CONFIG_REGMAP_MMIO) += regmap-mmio.o 
     56--- a/drivers/base/regmap/regmap.c 
     57+++ b/drivers/base/regmap/regmap.c 
     58@@ -13,6 +13,7 @@ 
     59 #include <linux/device.h> 
     60 #include <linux/slab.h> 
     61 #include <linux/export.h> 
     62+#include <linux/module.h> 
     63 #include <linux/mutex.h> 
     64 #include <linux/err.h> 
     65 #include <linux/rbtree.h> 
     66@@ -1413,3 +1414,5 @@ static int __init regmap_initcall(void) 
     67        return 0; 
     68 } 
     69 postcore_initcall(regmap_initcall); 
     70+ 
     71+MODULE_LICENSE("GPL"); 
  • trunk/target/linux/generic/patches-3.8/259-regmap_dynamic.patch

    r35055 r36070  
    5454 obj-$(CONFIG_REGMAP_SPI) += regmap-spi.o 
    5555 obj-$(CONFIG_REGMAP_MMIO) += regmap-mmio.o 
     56--- a/drivers/base/regmap/regmap.c 
     57+++ b/drivers/base/regmap/regmap.c 
     58@@ -13,6 +13,7 @@ 
     59 #include <linux/device.h> 
     60 #include <linux/slab.h> 
     61 #include <linux/export.h> 
     62+#include <linux/module.h> 
     63 #include <linux/mutex.h> 
     64 #include <linux/err.h> 
     65 #include <linux/rbtree.h> 
     66@@ -1530,3 +1531,5 @@ static int __init regmap_initcall(void) 
     67        return 0; 
     68 } 
     69 postcore_initcall(regmap_initcall); 
     70+ 
     71+MODULE_LICENSE("GPL"); 
  • trunk/target/linux/generic/patches-3.9/259-regmap_dynamic.patch

    r36008 r36070  
    4040 enum regmap_endian { 
    4141        /* Unspecified -> 0 -> Backwards compatible default */ 
     42--- a/drivers/base/regmap/regmap.c 
     43+++ b/drivers/base/regmap/regmap.c 
     44@@ -13,6 +13,7 @@ 
     45 #include <linux/device.h> 
     46 #include <linux/slab.h> 
     47 #include <linux/export.h> 
     48+#include <linux/module.h> 
     49 #include <linux/mutex.h> 
     50 #include <linux/err.h> 
     51 #include <linux/rbtree.h> 
     52@@ -1777,3 +1778,5 @@ static int __init regmap_initcall(void) 
     53        return 0; 
     54 } 
     55 postcore_initcall(regmap_initcall); 
     56+ 
     57+MODULE_LICENSE("GPL"); 
Note: See TracChangeset for help on using the changeset viewer.