Commit 87abd99c authored by Prasad Sodagudi's avatar Prasad Sodagudi
Browse files

ANDROID: firmware_loader: Fix warning with firmware_param_path_set



Compile time warning is observed with firmware_param_path_set()
for using the __setup() macro when firmware_loader enabled as module.

drivers/base/firmware_loader/main.c:428:19: warning: 'firmware_param_path_set'
defined but not used [-Wunused-function]

Fix the above warning by using the module_param_cb instead of __setup for
firmware_class.path commandline.

Bug: 202192667
Fixes: d551647f ("ANDROID: firmware_loader: Add support for customer firmware paths")
Change-Id: I73cdee9815e84a507ac886e6e181d4a489fd2e5f
Signed-off-by: default avatarPrasad Sodagudi <quic_psodagud@quicinc.com>
parent bb8c8316
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment