OSDN Git Service

xlnx-bbram: hw/nvram: Use dot in device type name
authorTong Ho <tong.ho@amd.com>
Tue, 3 Oct 2023 05:21:39 +0000 (22:21 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 19 Oct 2023 13:32:12 +0000 (14:32 +0100)
This replaces the comma (,) to dot (.) in the device type name
so the name can be used with the 'driver=' command line option.

Signed-off-by: Tong Ho <tong.ho@amd.com>
Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Message-id: 20231003052139.199665-1-tong.ho@amd.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
include/hw/nvram/xlnx-bbram.h

index 87d59ef..6fc13f8 100644 (file)
@@ -34,7 +34,7 @@
 
 #define RMAX_XLNX_BBRAM ((0x4c / 4) + 1)
 
-#define TYPE_XLNX_BBRAM "xlnx,bbram-ctrl"
+#define TYPE_XLNX_BBRAM "xlnx.bbram-ctrl"
 OBJECT_DECLARE_SIMPLE_TYPE(XlnxBBRam, XLNX_BBRAM);
 
 struct XlnxBBRam {