]> www.infradead.org Git - users/hch/misc.git/commitdiff
platform/dcdbas: move EXPORT_SYMBOL after function
authorMateusz Jończyk <mat.jonczyk@o2.pl>
Sat, 12 Feb 2022 12:59:08 +0000 (13:59 +0100)
committerHans de Goede <hdegoede@redhat.com>
Thu, 17 Feb 2022 14:53:57 +0000 (15:53 +0100)
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.

Signed-off-by: Mateusz Jończyk <mat.jonczyk@o2.pl>
Cc: Stuart Hayes <stuart.w.hayes@gmail.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Mark Gross <markgross@kernel.org>
Link: https://lore.kernel.org/r/20220212125908.357588-1-mat.jonczyk@o2.pl
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/dell/dcdbas.c

index 5e63d622504818e3431251073aced959ee4d278c..db3633fafbd51493e1b7a266cf3d4c02fc766ae0 100644 (file)
@@ -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 @@ out:
        mutex_unlock(&smi_data_lock);
        return ret;
 }
-EXPORT_SYMBOL(dcdbas_smi_request);
 
 /**
  * host_control_smi: generate host control SMI