summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/bnxt_re/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-02-17 17:38:26 +0300
committerDoug Ledford <dledford@redhat.com>2017-02-19 17:27:28 +0300
commit3ecc16c82c068885cef5697d2f056a8fc317cf45 (patch)
treeeb566cf5f017fbf8eefeebcf526d0350b4e8f931 /drivers/infiniband/hw/bnxt_re/Kconfig
parentc67294b70b5aafa2769e8c677a044243ce974c3a (diff)
downloadlinux-3ecc16c82c068885cef5697d2f056a8fc317cf45.tar.xz
IB/hns: include linux/module.h
I ran into a build error on arm64 randconfig testing: infiniband/hw/hns/hns_roce_main.c:539:1: error: data definition has no type or storage class [-Werror] infiniband/hw/hns/hns_roce_main.c:539:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int] infiniband/hw/hns/hns_roce_main.c:539:1: error: parameter names (without types) in function declaration [-Werror] infiniband/hw/hns/hns_roce_main.c:979:226: error: data definition has no type or storage class [-Werror] infiniband/hw/hns/hns_roce_main.c:979:226: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int] infiniband/hw/hns/hns_roce_main.c:979:1: error: parameter names (without types) in function declaration [-Werror] Including the module.h makes it build again. Fixes: 9a4435375cd1 ("IB/hns: Add driver files for hns RoCE driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/bnxt_re/Kconfig')
0 files changed, 0 insertions, 0 deletions