From: Adrian Bunk Date: Tue, 14 Aug 2007 21:22:35 +0000 (+0200) Subject: make drivers/acpi/scan.c:create_modalias() static X-Git-Tag: MMI-PSA29.97-13-9~40650^2~2^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b3e572d2eb7cdbda6f212ad177acd0c9381903b9;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git make drivers/acpi/scan.c:create_modalias() static This patch makes the needlessly global create_modalias() static. Signed-off-by: Adrian Bunk Signed-off-by: Len Brown --- diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index be74347d1354..64620d668742 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -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)