SUNRPC: Fix a potential race in rpc_wake_up_task()
[linux-2.6/mini2440.git] / drivers / acpi / i2c_ec.h
blob7c53fb732d610da5d5315c327a89f8d138c02a5f
1 /*
2 * SMBus driver for ACPI Embedded Controller ($Revision: 1.2 $)
4 * Copyright (c) 2002, 2005 Ducrot Bruno
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation version 2.
9 */
11 struct acpi_ec_smbus {
12 struct i2c_adapter adapter;
13 union acpi_ec *ec;
14 int base;
15 int alert;
18 struct acpi_ec_hc {
19 acpi_handle handle;
20 struct acpi_ec_smbus *smbus;
23 struct acpi_ec_hc *acpi_get_ec_hc(struct acpi_device *device);