diff options
author | Len Brown <len.brown@intel.com> | 2006-07-01 17:21:39 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-07-01 17:21:39 -0400 |
commit | 309b0f125a22ee34c8f6962677255f7bf6af5e3d (patch) | |
tree | ba5897f4b13d9b3fb35f9fcf1e420537da37c08f /drivers/acpi/i2c_ec.h | |
parent | d0e5f39f1ee2e55d140064bb6d74c8bad25d71d0 (diff) | |
parent | 635227ee89929a6e2920fc8aa1cd48f7225d3d93 (diff) | |
download | linux-stable-309b0f125a22ee34c8f6962677255f7bf6af5e3d.tar.gz linux-stable-309b0f125a22ee34c8f6962677255f7bf6af5e3d.tar.bz2 linux-stable-309b0f125a22ee34c8f6962677255f7bf6af5e3d.zip |
Pull smart-battery into release branch
Diffstat (limited to 'drivers/acpi/i2c_ec.h')
-rw-r--r-- | drivers/acpi/i2c_ec.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/acpi/i2c_ec.h b/drivers/acpi/i2c_ec.h new file mode 100644 index 000000000000..7c53fb732d61 --- /dev/null +++ b/drivers/acpi/i2c_ec.h @@ -0,0 +1,23 @@ +/* + * SMBus driver for ACPI Embedded Controller ($Revision: 1.2 $) + * + * Copyright (c) 2002, 2005 Ducrot Bruno + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation version 2. + */ + +struct acpi_ec_smbus { + struct i2c_adapter adapter; + union acpi_ec *ec; + int base; + int alert; +}; + +struct acpi_ec_hc { + acpi_handle handle; + struct acpi_ec_smbus *smbus; +}; + +struct acpi_ec_hc *acpi_get_ec_hc(struct acpi_device *device); |