diff mbox series

xlnx-bbram: hw/nvram: Use dot in device type name

Message ID 20231003052139.199665-1-tong.ho@amd.com
State New
Headers show
Series xlnx-bbram: hw/nvram: Use dot in device type name | expand

Commit Message

Ho, Tong Oct. 3, 2023, 5:21 a.m. UTC
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>
---
 include/hw/nvram/xlnx-bbram.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Francisco Iglesias Oct. 4, 2023, 7:22 p.m. UTC | #1
On [2023 Oct 02] Mon 22:21:39, Tong Ho wrote:
> 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>

> ---
>  include/hw/nvram/xlnx-bbram.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/hw/nvram/xlnx-bbram.h b/include/hw/nvram/xlnx-bbram.h
> index 87d59ef3c0..6fc13f8cc1 100644
> --- a/include/hw/nvram/xlnx-bbram.h
> +++ b/include/hw/nvram/xlnx-bbram.h
> @@ -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 {
> -- 
> 2.25.1
> 
>
Peter Maydell Oct. 16, 2023, 4:30 p.m. UTC | #2
On Tue, 3 Oct 2023 at 06:21, Tong Ho <tong.ho@amd.com> wrote:
>
> 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>
> ---
>  include/hw/nvram/xlnx-bbram.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)



Applied to target-arm.next, thanks.

-- PMM
diff mbox series

Patch

diff --git a/include/hw/nvram/xlnx-bbram.h b/include/hw/nvram/xlnx-bbram.h
index 87d59ef3c0..6fc13f8cc1 100644
--- a/include/hw/nvram/xlnx-bbram.h
+++ b/include/hw/nvram/xlnx-bbram.h
@@ -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 {