Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46438
b: refs/heads/master
c: d43ec68
h: refs/heads/master
v: v3
  • Loading branch information
Patrick Mochel authored and Len Brown committed Dec 16, 2006
1 parent 69bb8ac commit 7a058fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1d268b0a0f5407138caf0dec9559d68e657a3a74
refs/heads/master: d43ec68e9837dfa6618ab473622683fdbf6e68a9
5 changes: 0 additions & 5 deletions trunk/drivers/acpi/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,6 @@ acpi_eject_store(struct acpi_device *device, const char *buf, size_t count)
/* --------------------------------------------------------------------------
ACPI Bus operations
-------------------------------------------------------------------------- */
static inline struct acpi_device * to_acpi_device(struct device * dev)
{
return container_of(dev, struct acpi_device, dev);
}

static int root_suspend(struct acpi_device * acpi_dev, pm_message_t state)
{
struct acpi_device * dev, * next;
Expand Down
3 changes: 3 additions & 0 deletions trunk/include/acpi/acpi_bus.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ struct acpi_driver {
atomic_t references;
char *ids; /* Supported Hardware IDs */
struct acpi_device_ops ops;
struct device_driver drv;
};

/*
Expand Down Expand Up @@ -301,6 +302,8 @@ struct acpi_device {
};

#define acpi_driver_data(d) ((d)->driver_data)
#define to_acpi_device(d) container_of(d, struct acpi_device, dev)
#define to_acpi_driver(d) container_of(d, struct acpi_driver, drv)

/*
* Events
Expand Down

0 comments on commit 7a058fe

Please sign in to comment.