@@ -308,7 +308,7 @@ config SPI_NUC900
#
config SPI_DESIGNWARE
- bool "DesignWare SPI controller core support"
+ tristate "DesignWare SPI controller core support"
depends on SPI_MASTER
help
general driver for SPI controller core from DesignWare
@@ -940,6 +940,17 @@ int dw_spi_resume_host(struct dw_spi *dws)
}
EXPORT_SYMBOL(dw_spi_resume_host);
+static int __init dw_spi_init(void)
+{
+ return 0;
+}
+module_init(dw_spi_init);
+
+static void __exit dw_spi_exit(void)
+{
+}
+module_exit(dw_spi_exit);
+
MODULE_AUTHOR("Feng Tang <feng.tang@intel.com>");
MODULE_DESCRIPTION("Driver for DesignWare SPI controller core");
MODULE_LICENSE("GPL v2");