mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
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:
parent
8d8b636d28
commit
47b43a1f41
141 changed files with 169 additions and 169 deletions
|
@ -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
14
hw/i2c/bitbang_i2c.h
Normal 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
|
|
@ -22,7 +22,7 @@
|
|||
*/
|
||||
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/bitbang_i2c.h"
|
||||
#include "bitbang_i2c.h"
|
||||
|
||||
typedef struct {
|
||||
SysBusDevice busdev;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue