Skip to content

Commit

Permalink
versal lpd slcr: change device qom name
Browse files Browse the repository at this point in the history
At some point between the Xilinx QEMU fork base and 9.1,
it has become enforced that qom type names do not contain
commas. This change replaces the comma in the type name
for the LPD_SLCR to fix the illegal type name error that
occurs when registering the device.

Signed-off-by: Nelson Ho <Nelson.Ho@windriver.com>
  • Loading branch information
ho28 committed Dec 6, 2024
1 parent f70ef4e commit 455c984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/hw/misc/xlnx-versal-lpd-slcr.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "hw/register.h"
#include "qom/object.h"

#define TYPE_XILINX_LPD_SLCR "xlnx,versal-lpd-slcr"
#define TYPE_XILINX_LPD_SLCR "xlnx.versal-lpd-slcr"

#define XILINX_LPD_SLCR(obj) \
OBJECT_CHECK(LPD_SLCR, (obj), TYPE_XILINX_LPD_SLCR)
Expand Down

0 comments on commit 455c984

Please sign in to comment.