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>2018-05-19 05:00:51 -0500
commit7158cf1dd778f55aaa6b6b86db8eca975ce37857 (patch)
tree8f78725e7e547987f83cdb6ae6aca72f861193d0
parente9d6716d2fd10464e2aadd65b5b5b628a7743f38 (diff)
downloadtalos-obmc-linux-dev-4.13-raptor-05-18-2018.tar.gz
talos-obmc-linux-dev-4.13-raptor-05-18-2018.zip
Add missing license declaration call to common OCC file This fixes symbol access errors and taint when built as a moduledev-4.13-raptor-05-18-2018
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 10f5c0586d47..3f81c8cf1679 100644
--- a/drivers/hwmon/occ/common.c
+++ b/drivers/hwmon/occ/common.c
@@ -14,6 +14,7 @@
#include <linux/kernel.h>
#include <linux/mutex.h>
#include <linux/sysfs.h>
+#include <linux/module.h>
#include <asm/unaligned.h>
#include "common.h"
@@ -1390,3 +1391,5 @@ void occ_shutdown(struct occ *occ)
{
sysfs_remove_group(&occ->bus_dev->kobj, &occ_attr_group);
}
+
+MODULE_LICENSE("GPL");
OpenPOWER on IntegriCloud