Skip to content

Commit

Permalink
platform/dcdbas: move EXPORT_SYMBOL after function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mateusz Jończyk authored and Hans de Goede committed Feb 17, 2022
1 parent 3d7d407 commit 42f8bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/dell/dcdbas.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ int dcdbas_smi_request(struct smi_cmd *smi_cmd)

return ret;
}
EXPORT_SYMBOL(dcdbas_smi_request);

/**
* smi_request_store:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 42f8bcb

Please sign in to comment.