hw: move private headers to hw/ subdirectories.

Many headers are used only in a single directory.  These can be
kept in hw/.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2013-03-18 17:36:02 +01:00
parent 8d8b636d28
commit 47b43a1f41
141 changed files with 169 additions and 169 deletions

View file

@ -10,7 +10,7 @@
* GNU GPL, version 2 or (at your option) any later version.
*/
#include "hw/hw.h"
#include "hw/bitbang_i2c.h"
#include "bitbang_i2c.h"
#include "hw/sysbus.h"
//#define DEBUG_BITBANG_I2C

14
hw/i2c/bitbang_i2c.h Normal file
View file

@ -0,0 +1,14 @@
#ifndef BITBANG_I2C_H
#define BITBANG_I2C_H
#include "hw/i2c/i2c.h"
typedef struct bitbang_i2c_interface bitbang_i2c_interface;
#define BITBANG_I2C_SDA 0
#define BITBANG_I2C_SCL 1
bitbang_i2c_interface *bitbang_i2c_init(i2c_bus *bus);
int bitbang_i2c_set(bitbang_i2c_interface *i2c, int line, int level);
#endif

View file

@ -22,7 +22,7 @@
*/
#include "hw/sysbus.h"
#include "hw/bitbang_i2c.h"
#include "bitbang_i2c.h"
typedef struct {
SysBusDevice busdev;