diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-10-14 17:37:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-15 10:54:02 +0200 |
commit | f42752729e2068a92c7d8b576d0dbbc9c1464149 (patch) | |
tree | fd4c7feddd267d8abd7e9d4eeb86651aa0463641 /include/uapi | |
parent | 5d388fa01fa6eb310ac023a363a6cb216d9d8fe9 (diff) | |
download | linux-stable-f42752729e2068a92c7d8b576d0dbbc9c1464149.tar.gz linux-stable-f42752729e2068a92c7d8b576d0dbbc9c1464149.tar.bz2 linux-stable-f42752729e2068a92c7d8b576d0dbbc9c1464149.zip |
eeprom: 93xx46: fix MODULE_DEVICE_TABLE
The newly added SPI device ID table does not work because the
entry is incorrectly copied from the OF device table.
During build testing, this shows as a compile failure when building
it as a loadable module:
drivers/misc/eeprom/eeprom_93xx46.c:424:1: error: redefinition of '__mod_of__eeprom_93xx46_of_table_device_table'
MODULE_DEVICE_TABLE(of, eeprom_93xx46_of_table);
Change the entry to refer to the correct symbol.
Fixes: 137879f7ff23 ("eeprom: 93xx46: Add SPI device ID table")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20211014153730.3821376-1-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions