]> git.baikalelectronics.ru Git - kernel.git/commit
spi: altera: fix module autoload
authorXu Yilun <yilun.xu@intel.com>
Wed, 24 Jun 2020 01:31:26 +0000 (09:31 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 24 Jun 2020 15:37:47 +0000 (16:37 +0100)
commit3a5bae7792c801184898406890b4c1e538771e34
treea2cc873a1d79f6408f04c404f4113163da3cae7d
parent685f9f315783d531b037579ef82529d1ee3afd5b
spi: altera: fix module autoload

Add the MODULE_DEVICE_TABLE macro for the platform_device_id table to
allow proper creation of modalias strings and fix autoloading module for
this driver.

Signed-off-by: Xu Yilun <yilun.xu@intel.com>
Signed-off-by: Russ Weight <russell.h.weight@intel.com>
Link: https://lore.kernel.org/r/1592962286-25752-3-git-send-email-yilun.xu@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-altera.c