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>
This commit is contained in:
kbuild test robot 2015-08-07 22:33:11 +08:00 committed by Mark Brown
parent a568231f46
commit 4299aaaa5d

View File

@ -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,