diff options
author | Kees Cook <keescook@chromium.org> | 2019-05-24 23:20:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-27 07:50:11 +0300 |
commit | 3e66b7cc50ef921121babc91487e1fb98af1ba6e (patch) | |
tree | cc18e2436dce3814e39c41bf929acb2d0f3b9fab /drivers/net/wireless/realtek/rtw88 | |
parent | b933dc367a1d85edf2db8e6edd5783ae9604813d (diff) | |
download | linux-3e66b7cc50ef921121babc91487e1fb98af1ba6e.tar.xz |
net: tulip: de4x5: Drop redundant MODULE_DEVICE_TABLE()
Building with Clang reports the redundant use of MODULE_DEVICE_TABLE():
drivers/net/ethernet/dec/tulip/de4x5.c:2110:1: error: redefinition of '__mod_eisa__de4x5_eisa_ids_device_table'
MODULE_DEVICE_TABLE(eisa, de4x5_eisa_ids);
^
./include/linux/module.h:229:21: note: expanded from macro 'MODULE_DEVICE_TABLE'
extern typeof(name) __mod_##type##__##name##_device_table \
^
<scratch space>:90:1: note: expanded from here
__mod_eisa__de4x5_eisa_ids_device_table
^
drivers/net/ethernet/dec/tulip/de4x5.c:2100:1: note: previous definition is here
MODULE_DEVICE_TABLE(eisa, de4x5_eisa_ids);
^
./include/linux/module.h:229:21: note: expanded from macro 'MODULE_DEVICE_TABLE'
extern typeof(name) __mod_##type##__##name##_device_table \
^
<scratch space>:85:1: note: expanded from here
__mod_eisa__de4x5_eisa_ids_device_table
^
This drops the one further from the table definition to match the common
use of MODULE_DEVICE_TABLE().
Fixes: 07563c711fbc ("EISA bus MODALIAS attributes support")
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/realtek/rtw88')
0 files changed, 0 insertions, 0 deletions