diff mbox

[spi] spi: mediatek: mtk_spi_driver can be static

Message ID 20150807143311.GA44461@lkp-nex05 (mailing list archive)
State Accepted
Commit 4299aaaa5da01f46f9186c4bb958200cf9c73532
Headers show

Commit Message

Fengguang Wu Aug. 7, 2015, 2:33 p.m. UTC
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 spi-mt65xx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c
index 4676b01..e62d304 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,