00001 /*************************************************************************** 00002 * CVSID: $Id: linux_i2c.h,v 1.2 2004/03/03 17:56:56 david Exp $ 00003 * 00004 * linux_i2c.h : I2C handling on Linux 2.6; based on linux_pci.h 00005 * 00006 * Copyright (C) 2004 Matthew Mastracci <matt@aclaro.com> 00007 * Copyright (C) 2003 David Zeuthen, <david@fubar.dk> 00008 * 00009 * Licensed under the Academic Free License version 2.0 00010 * 00011 * This program is free software; you can redistribute it and/or modify 00012 * it under the terms of the GNU General Public License as published by 00013 * the Free Software Foundation; either version 2 of the License, or 00014 * (at your option) any later version. 00015 * 00016 * This program is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 * GNU General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU General Public License 00022 * along with this program; if not, write to the Free Software 00023 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00024 * 00025 **************************************************************************/ 00026 00027 #ifndef LINUX_I2C_H 00028 #define LINUX_I2C_H 00029 00030 #include "linux_common.h" 00031 00032 void visit_device_i2c (const char *path, struct sysfs_device *device); 00033 00034 void linux_i2c_init (); 00035 void linux_i2c_detection_done (); 00036 void linux_i2c_shutdown (); 00037 00038 #endif /* LINUX_I2C_H */