summaryrefslogtreecommitdiffstats
path: root/drivers/fsi
diff options
context:
space:
mode:
authorkbuild test robot <lkp@intel.com>2019-11-08 06:19:40 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-08 11:23:40 +0100
commit56ec311fddacd0e18795322e1d25048179787b4b (patch)
treead284d3998a22be64dfeebda826935a854044187 /drivers/fsi
parentfsi: core: Fix small accesses and unaligned offsets via sysfs (diff)
downloadlinux-56ec311fddacd0e18795322e1d25048179787b4b.tar.xz
linux-56ec311fddacd0e18795322e1d25048179787b4b.zip
fsi: fsi_master_class can be static
There are no users outside of this file. Fixes: 0604d53d4da8 ("fsi: Add fsi-master class") Signed-off-by: kbuild test robot <lkp@intel.com> Signed-off-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20191108051945.7109-7-joel@jms.id.au Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fsi')
-rw-r--r--drivers/fsi/fsi-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fsi/fsi-core.c b/drivers/fsi/fsi-core.c
index e02ebcb0c9e6..8244da8a7241 100644
--- a/drivers/fsi/fsi-core.c
+++ b/drivers/fsi/fsi-core.c
@@ -1272,7 +1272,7 @@ static struct attribute *master_attrs[] = {
ATTRIBUTE_GROUPS(master);
-struct class fsi_master_class = {
+static struct class fsi_master_class = {
.name = "fsi-master",
.dev_groups = master_groups,
};