projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70b30fb
)
make drivers/acpi/scan.c:create_modalias() static
author
Adrian Bunk
<
[email protected]
>
Tue, 14 Aug 2007 21:22:35 +0000
(23:22 +0200)
committer
Len Brown
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Len Brown <
[email protected]
>
drivers/acpi/scan.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/scan.c
b/drivers/acpi/scan.c
index be74347d135435e5c5b4508b8144528bc58a0459..64620d668742ea8cb3345c0a07d415e96268a3bf 100644
(file)
--- 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)