summaryrefslogtreecommitdiffstats
path: root/hw/sd/sdhci.c
diff options
context:
space:
mode:
authorSai Pavan Boddu2015-10-08 15:21:02 +0200
committerStefan Hajnoczi2015-10-29 18:59:27 +0100
commit637d23beb607765033067c5cb08e0d66afaf8f4c (patch)
tree129c6b10f7c1d9786f949601661c0c713f3e0054 /hw/sd/sdhci.c
parentsd.h: Move sd.h to include/hw/sd/ (diff)
downloadqemu-637d23beb607765033067c5cb08e0d66afaf8f4c.tar.gz
qemu-637d23beb607765033067c5cb08e0d66afaf8f4c.tar.xz
qemu-637d23beb607765033067c5cb08e0d66afaf8f4c.zip
sdhci: Split sdhci.h for public and internal device usage
Split sdhci.h into pubilc version (i.e include/hw/sd/sdhci.h) and internal version (i.e hw/sd/sdhci-interna.h) based on register declarations and object declaration. Signed-off-by: Sai Pavan Boddu <saipava@xilinx.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/sd/sdhci.c')
-rw-r--r--hw/sd/sdhci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/sd/sdhci.c b/hw/sd/sdhci.c
index 7f73527d44..d70d1a6ab9 100644
--- a/hw/sd/sdhci.c
+++ b/hw/sd/sdhci.c
@@ -29,8 +29,7 @@
#include "sysemu/dma.h"
#include "qemu/timer.h"
#include "qemu/bitops.h"
-
-#include "sdhci.h"
+#include "sdhci-internal.h"
/* host controller debug messages */
#ifndef SDHC_DEBUG