diff options
author | Leon Romanovsky | 2017-04-22 17:28:50 +0300 |
---|---|---|
committer | Doug Ledford | 2017-04-28 13:11:43 -0400 |
commit | f5029e752b0d8e4de81f9dfb7752c04ae1eecc69 (patch) | |
tree | f3299660f60c127f3248fa2c4e52fbf162c907c8 /drivers/spmi | |
parent | 218271adca2a3033d6ac9e3a71dcf81d5543afc6 (diff) |
Ib/usnic: Explicitly include usnic headers
Sparse tool complains about undeclared symbols in usnic_ib_verbs.c
and usnic_ib_sysfs.c This is caused by lack of direct include of
appropriate usnic_ib_verbs.h and usnic_ib_sysfs.h, where all
these functions were declared.
Simple include eliminates 30 warnings similar to the below one:
drivers/infiniband/hw/usnic/usnic_ib_sysfs.c:304:6: warning: symbol
'usnic_ib_sysfs_unregister_usdev' was
not declared. Should it be static?
CC: Christian Benvenuti <benve@cisco.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/spmi')
0 files changed, 0 insertions, 0 deletions