From: Alistair Francis <alistair.francis@xilinx.com>
To: qemu-devel@nongnu.org
Cc: edgar.iglesias@xilinx.com, peter.crosthwaite@xilinx.com
Subject: [Qemu-devel] [PATCH v1 1/1] zynq_slcr: Change the comma to a underscore
Date: Wed, 26 Mar 2014 13:05:55 +1000 [thread overview]
Message-ID: <462e8a61547e6833c71ec45adcb45e88561eed66.1395800307.git.alistair.francis@xilinx.com> (raw)
This patch changes the comma in the "xilinx,zynq_slcr" to an
underscore. This matches every other xilinx* peripheral and
also makes parsing the device via the command line possible.
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
---
hw/arm/xilinx_zynq.c | 2 +-
hw/misc/zynq_slcr.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/arm/xilinx_zynq.c b/hw/arm/xilinx_zynq.c
index 9ee21e7..f717645 100644
--- a/hw/arm/xilinx_zynq.c
+++ b/hw/arm/xilinx_zynq.c
@@ -167,7 +167,7 @@ static void zynq_init(QEMUMachineInitArgs *args)
1, 0x0066, 0x0022, 0x0000, 0x0000, 0x0555, 0x2aa,
0);
- dev = qdev_create(NULL, "xilinx,zynq_slcr");
+ dev = qdev_create(NULL, "xilinx_zynq_slcr");
qdev_init_nofail(dev);
sysbus_mmio_map(SYS_BUS_DEVICE(dev), 0, 0xF8000000);
diff --git a/hw/misc/zynq_slcr.c b/hw/misc/zynq_slcr.c
index d1cc233..8aba715 100644
--- a/hw/misc/zynq_slcr.c
+++ b/hw/misc/zynq_slcr.c
@@ -116,7 +116,7 @@ typedef enum {
RESET_MAX
} ResetValues;
-#define TYPE_ZYNQ_SLCR "xilinx,zynq_slcr"
+#define TYPE_ZYNQ_SLCR "xilinx_zynq_slcr"
#define ZYNQ_SLCR(obj) OBJECT_CHECK(ZynqSLCRState, (obj), TYPE_ZYNQ_SLCR)
typedef struct ZynqSLCRState {
--
1.7.1
next reply other threads:[~2014-03-26 3:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-26 3:05 Alistair Francis [this message]
2014-04-09 1:14 ` [Qemu-devel] [PATCH v1 1/1] zynq_slcr: Change the comma to a underscore Peter Crosthwaite
2014-04-09 1:34 ` Alistair Francis
2014-04-09 8:28 ` Markus Armbruster
2014-04-09 9:18 ` Markus Armbruster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=462e8a61547e6833c71ec45adcb45e88561eed66.1395800307.git.alistair.francis@xilinx.com \
--to=alistair.francis@xilinx.com \
--cc=edgar.iglesias@xilinx.com \
--cc=peter.crosthwaite@xilinx.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).