Show
Ignore:
Timestamp:
04/26/12 12:10:22 (3 years ago)
Author:
khali
Message:

i2c-dev: Move SMBus helper functions to include/i2c/smbus.h

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • i2c-tools/trunk/tools/i2cget.c

    r5885 r6048  
    11/* 
    22    i2cget.c - A user-space program to read an I2C register. 
    3     Copyright (C) 2005-2010  Jean Delvare <khali@linux-fr.org> 
     3    Copyright (C) 2005-2012  Jean Delvare <khali@linux-fr.org> 
    44 
    55    Based on i2cset.c: 
     
    2424*/ 
    2525 
     26#include <sys/ioctl.h> 
    2627#include <errno.h> 
    2728#include <string.h> 
     
    2930#include <stdlib.h> 
    3031#include <unistd.h> 
     32#include <linux/i2c.h> 
    3133#include <linux/i2c-dev.h> 
     34#include <i2c/smbus.h> 
    3235#include "i2cbusses.h" 
    3336#include "util.h"