Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31994
b: refs/heads/master
c: 74b142e
h: refs/heads/master
v: v3
  • Loading branch information
Patrick Mochel authored and Len Brown committed Jun 30, 2006
1 parent 5c4fc19 commit 0ae3279
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 145def84a177c01cf3cc6cfbb67a029f39a8ac35
refs/heads/master: 74b142e0fe039fcde42030c064763577e11ca004
2 changes: 2 additions & 0 deletions trunk/drivers/acpi/fan.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ static struct acpi_driver acpi_fan_driver = {

struct acpi_fan {
acpi_handle handle;
struct acpi_device * device;
};

/* --------------------------------------------------------------------------
Expand Down Expand Up @@ -192,6 +193,7 @@ static int acpi_fan_add(struct acpi_device *device)
memset(fan, 0, sizeof(struct acpi_fan));

fan->handle = device->handle;
fan->device = device;
strcpy(acpi_device_name(device), "Fan");
strcpy(acpi_device_class(device), ACPI_FAN_CLASS);
acpi_driver_data(device) = fan;
Expand Down

0 comments on commit 0ae3279

Please sign in to comment.