spi: mediatek: mtk_spi_driver can be static

Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
kbuild test robot 2015-08-07 22:33:11 +08:00 • committed by Mark Brown
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,