/* * 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. */structacpi_ec_smbus{structi2c_adapteradapter;unionacpi_ec*ec;intbase;intalert;};structacpi_ec_hc{acpi_handlehandle;structacpi_ec_smbus*smbus;};structacpi_ec_hc*acpi_get_ec_hc(structacpi_device*device);