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-15 16:36:25 -0500
commit97c9542de51f02b89db313f774819e3c230a4489 (patch)
tree738399a3ff7d20439b83b004922aa7036ce48b1b
parentff99206372ee6fae62f7665b730de9b802f2ba25 (diff)
downloadtalos-obmc-linux-97c9542de51f02b89db313f774819e3c230a4489.tar.gz
talos-obmc-linux-97c9542de51f02b89db313f774819e3c230a4489.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 88c32915b8bf..71ec7753b709 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"
@@ -1385,3 +1386,5 @@ void occ_shutdown(struct occ *occ)
{
sysfs_remove_group(&occ->bus_dev->kobj, &occ_attr_group);
}
+
+MODULE_LICENSE("GPL");
OpenPOWER on IntegriCloud