Skip to content

Commit

Permalink
make drivers/acpi/scan.c:create_modalias() static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Len Brown committed Aug 25, 2007
1 parent 70b30fb commit b3e572d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/acpi/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b3e572d

Please sign in to comment.