diff options
author | Timothy Pearson <tpearson@raptorengineering.com> | 2018-05-15 16:28:45 -0500 |
---|---|---|
committer | Raptor Engineering Development Team <support@raptorengineering.com> | 2019-04-19 11:33:16 +0000 |
commit | 695541f48b4a458c8fcbd2830337797045d3b1d2 (patch) | |
tree | 01d7506d277a1af2c73cf3568436737c59c75cfa | |
parent | 94c3d23f431f69d4a2f216d63608cdeaefc1b0a3 (diff) | |
download | talos-obmc-linux-695541f48b4a458c8fcbd2830337797045d3b1d2.tar.gz talos-obmc-linux-695541f48b4a458c8fcbd2830337797045d3b1d2.zip |
Add missing license declaration call to common OCC file This fixes symbol access errors and taint when built as a module
Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
-rw-r--r-- | drivers/hwmon/occ/common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hwmon/occ/common.c b/drivers/hwmon/occ/common.c index e6d3fb54769b..029e7179298b 100644 --- a/drivers/hwmon/occ/common.c +++ b/drivers/hwmon/occ/common.c @@ -8,6 +8,7 @@ #include <linux/math64.h> #include <linux/mutex.h> #include <linux/sysfs.h> +#include <linux/module.h> #include <asm/unaligned.h> #include "common.h" @@ -1108,3 +1109,5 @@ int occ_setup(struct occ *occ, const char *name) return rc; } + +MODULE_LICENSE("GPL"); |