make drivers/acpi/scan.c:create_modalias() static
authorAdrian Bunk <bunk@kernel.org>
Tue, 14 Aug 2007 21:22:35 +0000 (23:22 +0200)
committerLen Brown <len.brown@intel.com>
Sat, 25 Aug 2007 05:38:51 +0000 (01:38 -0400)
This patch makes the needlessly global create_modalias() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/scan.c

index be74347d135435e5c5b4508b8144528bc58a0459..64620d668742ea8cb3345c0a07d415e96268a3bf 100644 (file)
@@ -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)