提交 b3e572d2 编写于 作者: A Adrian Bunk 提交者: Len Brown

make drivers/acpi/scan.c:create_modalias() static

This patch makes the needlessly global create_modalias() static.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 70b30fb1
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册