mirror of
https://github.com/torvalds/linux.git
synced 2026-01-12 00:42:35 +08:00
soc: qcom: Do not expose internal servreg_location_entry_ei array
'struct qmi_elem_info servreg_location_entry_ei' is used only internally in qcom_pdr_msg.c, so drop the extern declaration to make headers smaller and code more obvious about intention. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Link: https://lore.kernel.org/r/20250121102817.68577-1-krzysztof.kozlowski@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
1e9e40fc6f
commit
2e14c17a2e
@@ -91,7 +91,6 @@ struct servreg_loc_pfr_resp {
|
||||
struct qmi_response_type_v01 rsp;
|
||||
};
|
||||
|
||||
extern const struct qmi_elem_info servreg_location_entry_ei[];
|
||||
extern const struct qmi_elem_info servreg_get_domain_list_req_ei[];
|
||||
extern const struct qmi_elem_info servreg_get_domain_list_resp_ei[];
|
||||
extern const struct qmi_elem_info servreg_register_listener_req_ei[];
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
#include "pdr_internal.h"
|
||||
|
||||
const struct qmi_elem_info servreg_location_entry_ei[] = {
|
||||
static const struct qmi_elem_info servreg_location_entry_ei[] = {
|
||||
{
|
||||
.data_type = QMI_STRING,
|
||||
.elem_len = SERVREG_NAME_LENGTH + 1,
|
||||
@@ -47,7 +47,6 @@ const struct qmi_elem_info servreg_location_entry_ei[] = {
|
||||
},
|
||||
{}
|
||||
};
|
||||
EXPORT_SYMBOL_GPL(servreg_location_entry_ei);
|
||||
|
||||
const struct qmi_elem_info servreg_get_domain_list_req_ei[] = {
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user