summaryrefslogtreecommitdiffstats
path: root/hw/sd/sdhci.c
diff options
context:
space:
mode:
authorSai Pavan Boddu <sai.pavan.boddu@xilinx.com>2015-10-08 18:51:02 +0530
committerStefan Hajnoczi <stefanha@redhat.com>2015-10-29 17:59:27 +0000
commit637d23beb607765033067c5cb08e0d66afaf8f4c (patch)
tree129c6b10f7c1d9786f949601661c0c713f3e0054 /hw/sd/sdhci.c
parente3382ef0ea2724f5f09271a608e8f68ede5d844d (diff)
downloadhqemu-637d23beb607765033067c5cb08e0d66afaf8f4c.zip
hqemu-637d23beb607765033067c5cb08e0d66afaf8f4c.tar.gz
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 7f73527..d70d1a6 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
OpenPOWER on IntegriCloud