Skip to contentSkip to conversation

sdhci: Move sdhci.h to include/

RFC PATCH In review Sai Pavan Boddu 2 participants 3 messages Sep 4, 2015

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 sdhci: Move sdhci.h to include/

For a easy creation of device directly form sdhci, without building a wrapper around.

---
 hw/sd/sdhci.c                 | 2 +-
 {hw/sd => include/hw}/sdhci.h | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename {hw/sd => include/hw}/sdhci.h (100%)
hw/sd/sdhci.c +1 -1
index e63367b..2469077 100644
@@ -29,7 +29,7 @@
 #include "qemu/timer.h"
 #include "qemu/bitops.h"
 
-#include "sdhci.h"
+#include "hw/sdhci.h"
 
 /* host controller debug messages */
 #ifndef SDHC_DEBUG
include/hw/sdhci.h renamed from hw/sd/sdhci.h +0 -0
similarity index 100%
rename from hw/sd/sdhci.h
rename to include/hw/sdhci.h
Signature · 1 line
1.9.1
#1 lore raw
Quoted 1 line · Sai Pavan Boddu

For a easy creation of device directly form sdhci, without building a wrapper around.

Can you fix the commit message?

Quoted 5 lines
---
 hw/sd/sdhci.c                 | 2 +-
 {hw/sd => include/hw}/sdhci.h | 0

Now that there are two SD related header filesI think we should create a sd folder under include/hw/ and move the sdhci.h file in there as well.

Otherwise I think this is a good idea.

Thanks,

Alistair

Quoted 24 lines
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename {hw/sd => include/hw}/sdhci.h (100%)
hw/sd/sdhci.c +1 -1
index e63367b..2469077 100644
@@ -29,7 +29,7 @@
 #include "qemu/timer.h"
 #include "qemu/bitops.h"
 
-#include "sdhci.h"
+#include "hw/sdhci.h"
 
 /* host controller debug messages */
 #ifndef SDHC_DEBUG
include/hw/sdhci.h renamed from hw/sd/sdhci.h +0 -1
similarity index 100%
rename from hw/sd/sdhci.h
rename to include/hw/sdhci.h
--

1.9.1

#2 lore raw
Quoted 18 lines

-----Original Message-----
From: Alistair Francis [mailto:[email protected]]
Sent: Friday, September 04, 2015 11:51 PM
To: Sai Pavan Boddu
Cc: [email protected] Developers; Sai Pavan Boddu; Peter Maydell; Peter Crosthwaite; Alistair Francis; Edgar Iglesias
Subject: Re: [Qemu-devel] [RFC PATCH] sdhci: Move sdhci.h to include/

Quoted 1 line · Sai Pavan Boddu

For a easy creation of device directly form sdhci, without building a wrapper

around.

Can you fix the commit message?

Quoted 1 line
Quoted 8 lines
Quoted 4 lines
---
 hw/sd/sdhci.c                 | 2 +-
 {hw/sd => include/hw}/sdhci.h | 0

Now that there are two SD related header filesI think we should create a sd folder under include/hw/ and move the sdhci.h file in there as well.

[Sai Pavan ] well that will be good. Will get that done in next V2.

Thanks,
Sai Pavan

Quoted 21 lines

Otherwise I think this is a good idea.

Thanks,

Alistair

Quoted 14 lines
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename {hw/sd => include/hw}/sdhci.h (100%)
hw/sd/sdhci.c +1 -1
index e63367b..2469077 100644
@@ -29,7 +29,7 @@
 #include "qemu/timer.h"
 #include "qemu/bitops.h"
 
-#include "sdhci.h"
+#include "hw/sdhci.h"
 
Quoted 10 lines
Quoted 10 lines
hw/sd/sdhci.c +0 -0
 /* host controller debug messages */
 #ifndef SDHC_DEBUG
include/hw/sdhci.h renamed from hw/sd/sdhci.h +0 -1
similarity index 100%
rename from hw/sd/sdhci.h
rename to include/hw/sdhci.h
--

1.9.1

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.