summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineering.com>2018-05-15 16:28:45 -0500
committerRaptor Engineering Development Team <support@raptorengineering.com>2019-04-19 11:33:16 +0000
commit695541f48b4a458c8fcbd2830337797045d3b1d2 (patch)
tree01d7506d277a1af2c73cf3568436737c59c75cfa
parent94c3d23f431f69d4a2f216d63608cdeaefc1b0a3 (diff)
downloadblackbird-obmc-linux-695541f48b4a458c8fcbd2830337797045d3b1d2.tar.gz
blackbird-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.c3
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");
OpenPOWER on IntegriCloud