diff options
author | Arnd Bergmann <[email protected]> | 2023-05-17 14:55:09 +0200 |
---|---|---|
committer | Dan Williams <[email protected]> | 2023-05-18 17:28:07 -0700 |
commit | 2d5153526f929838b0912ded26862840f72745f4 (patch) | |
tree | e13169b17caa92b0d6afc1ed6e63f99f675243ef /scripts/bpf_doc.py | |
parent | e764f12208b99ac7892c4e3f6bf88d71ca71036f (diff) |
dax: fix missing-prototype warnings
dev_dax_probe declaration for this function was removed with the only
caller outside of device.c. Mark it static to avoid a W=1
warning:
drivers/dax/device.c:399:5: error: no previous prototype for 'dev_dax_probe'
Similarly, run_dax() causes a warning, but this one is because the
declaration needs to be included:
drivers/dax/super.c:337:6: error: no previous prototype for 'run_dax'
Fixes: 83762cb5c7c4 ("dax: Kill DEV_DAX_PMEM_COMPAT")
Signed-off-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions