Re: [Qemu-devel] [PATCH 08/24] tusb6010: move declarations to new file tusb6010.h

2011-08-09 Thread Peter Maydell
On 8 August 2011 18:06, Avi Kivity a...@redhat.com wrote: diff --git a/hw/tusb6010.h b/hw/tusb6010.h new file mode 100644 index 000..6faa94d --- /dev/null +++ b/hw/tusb6010.h @@ -0,0 +1,10 @@ +#ifndef TUSB6010_H +#define TUSB6010_H + +typedef struct TUSBState TUSBState; +TUSBState

[PATCH 08/24] tusb6010: move declarations to new file tusb6010.h

2011-08-08 Thread Avi Kivity
Avoid #include hell. Signed-off-by: Avi Kivity a...@redhat.com --- hw/devices.h |7 --- hw/nseries.c |1 + hw/tusb6010.c |2 +- hw/tusb6010.h | 10 ++ 4 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 hw/tusb6010.h diff --git a/hw/devices.h