Patchwork m25p80: Remove bogus include of devices.h

login
register
mail settings
Submitter Peter Crosthwaite
Date April 19, 2013, 2:18 a.m.
Message ID <1366337885-9358-1-git-send-email-peter.crosthwaite@xilinx.com>
Download mbox | patch
Permalink /patch/237819/
State New
Headers show

Comments

Peter Crosthwaite - April 19, 2013, 2:18 a.m.
From: Peter Crosthwaite <peter.crosthwaite@xilinx.com>

I think in the early revisions of this we had an instantiation helper
for the device in devices.h. This was later removed and this header was
left over. Removed

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
---
 hw/block/m25p80.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
Stefan Hajnoczi - April 19, 2013, 9:46 a.m.
On Fri, Apr 19, 2013 at 12:18:05PM +1000, peter.crosthwaite@xilinx.com wrote:
> From: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
> 
> I think in the early revisions of this we had an instantiation helper
> for the device in devices.h. This was later removed and this header was
> left over. Removed
> 
> Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
> ---
>  hw/block/m25p80.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)

Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches

Stefan

Patch

diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index efcc7f4..b3ca19a 100644
--- a/hw/block/m25p80.c
+++ b/hw/block/m25p80.c
@@ -24,7 +24,6 @@ 
 #include "hw/hw.h"
 #include "sysemu/blockdev.h"
 #include "hw/ssi.h"
-#include "hw/devices.h"
 
 #ifndef M25P80_ERR_DEBUG
 #define M25P80_ERR_DEBUG 0