mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
make drivers/acpi/scan.c:create_modalias() static
This patch makes the needlessly global create_modalias() static. Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
parent
70b30fb13b
commit
b3e572d2eb
1 changed files with 3 additions and 2 deletions
|
|
@ -35,8 +35,9 @@ struct acpi_device_bus_id{
|
|||
* e.g. on a device with hid:IBM0001 and cid:ACPI0001 you get:
|
||||
* char *modalias: "acpi:IBM0001:ACPI0001"
|
||||
*/
|
||||
int create_modalias(struct acpi_device *acpi_dev, char *modalias, int size){
|
||||
|
||||
static int create_modalias(struct acpi_device *acpi_dev, char *modalias,
|
||||
int size)
|
||||
{
|
||||
int len;
|
||||
|
||||
if (!acpi_dev->flags.hardware_id)
|
||||
|
|
|
|||
Loading…
Reference in a new issue