platform/dcdbas: move EXPORT_SYMBOL after function
PATCH 1/1 platform/dcdbas: move EXPORT_SYMBOL after function
The declaration
EXPORT_SYMBOL(dcdbas_smi_request);
was placed after smi_request_store(), which made a false impression that dcdbas_smi_request() was not exported.
--- drivers/platform/x86/dell/dcdbas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/dell/dcdbas.c +1 -1
@@ -284,6 +284,7 @@ int dcdbas_smi_request(struct smi_cmd *smi_cmd)return ret; } +EXPORT_SYMBOL (dcdbas_smi_request);/** * smi_request_store:
@@ -351,7 +352,6 @@ static ssize_t smi_request_store(struct device *dev,mutex_unlock (&smi_data_lock);return ret; } -EXPORT_SYMBOL (dcdbas_smi_request);/** * host_control_smi: generate host control SMI
Signature · 1 line
2.25.1
Hi,
Quoted 9 lines · Mateusz Jończyk
The declaration
EXPORT_SYMBOL(dcdbas_smi_request);was placed after
smi_request_store(), which made a false impression thatdcdbas_smi_request()was not exported.Signed-off-by Mateusz Jończyk <[email protected]>Cc Stuart Hayes <[email protected]>Cc Hans de Goede <[email protected]>Cc Mark Gross <[email protected]>
Thank you for your patch, I've applied this patch to my review-hans branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans
Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while.
Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window.
Regards,
Hans
Quoted 25 lines
--- drivers/platform/x86/dell/dcdbas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/platform/x86/dell/dcdbas.c +1
-1@@ -284,6 +284,7 @@ int dcdbas_smi_request(struct smi_cmd *smi_cmd)return ret; } +EXPORT_SYMBOL (dcdbas_smi_request);/** * smi_request_store: @@ -351,7 +352,6 @@ static ssize_t smi_request_store(struct device *dev,mutex_unlock (&smi_data_lock);return ret; } -EXPORT_SYMBOL (dcdbas_smi_request);/** * host_control_smi: generate host control SMI