summaryrefslogtreecommitdiff
path: root/include/linux/maple.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-12-19 17:06:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-04 16:37:17 +0300
commite76933a9bfa9b7f28a387f2e13cb3e689adc200d (patch)
tree1effb228cf6119b7bc3dd6374e22eb1f86650522 /include/linux/maple.h
parentb1a1eaf6183697b77f7243780a25f35c7c0c8bdf (diff)
downloadlinux-e76933a9bfa9b7f28a387f2e13cb3e689adc200d.tar.xz
maple: make maple_bus_type static and const
There is no need to export maple_bus_type as no one uses it outside of maple.c, so make it static, AND make it const as it can be read-only as no one modifies it. Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: Rich Felker <dalias@libc.org> Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Cc: <linux-sh@vger.kernel.org> Link: https://lore.kernel.org/r/2023121918-rejoicing-frostlike-d976@gregkh Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/maple.h')
-rw-r--r--include/linux/maple.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/maple.h b/include/linux/maple.h
index 9b140272ee16..9aae44efcfd4 100644
--- a/include/linux/maple.h
+++ b/include/linux/maple.h
@@ -5,7 +5,6 @@
#include <mach/maple.h>
struct device;
-extern struct bus_type maple_bus_type;
/* Maple Bus command and response codes */
enum maple_code {