summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2015-08-07 22:33:11 +0800
committerMark Brown <broonie@kernel.org>2015-08-07 17:34:48 +0100
commit4299aaaa5da01f46f9186c4bb958200cf9c73532 (patch)
tree0e80197d3ba1f7b810522d877b44eccb6b50f3bb /drivers/spi
parenta568231f463225eb31593f71446a267a03ae0528 (diff)
downloadlinux-4299aaaa5da01f46f9186c4bb958200cf9c73532.tar.bz2
spi: mediatek: mtk_spi_driver can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-mt65xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c
index 4676b0122b89..e62d3043ad93 100644
--- a/drivers/spi/spi-mt65xx.c
+++ b/drivers/spi/spi-mt65xx.c
@@ -731,7 +731,7 @@ static const struct dev_pm_ops mtk_spi_pm = {
mtk_spi_runtime_resume, NULL)
};
-struct platform_driver mtk_spi_driver = {
+static struct platform_driver mtk_spi_driver = {
.driver = {
.name = "mtk-spi",
.pm = &mtk_spi_pm,