Skip to content
Commit 7e4ef204 authored by Ruiqiang Hao's avatar Ruiqiang Hao Committed by Bruce Ashfield
Browse files

crypto: octeontx2: put the function definition before the reference

commit d2a3cbda

(drivers: crypto: add support for OCTEONTX2 CPT engine)
put function sso_pf_func_ovrd_show() and sso_pf_func_ovrd_store() after
the reference, will cause build issue below. Move the function definition
before the reference to fix this.

drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c:532:23: error: 'sso_pf_func_ovrd_store' undeclared here (not in a function)
  532 | static DEVICE_ATTR_RW(sso_pf_func_ovrd);
      |                       ^~~~~~~~~~~~~~~~

Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent 0cefd914
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment