Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7142408 authored by Jiaxing Shi's avatar Jiaxing Shi
Browse files

driver: char: Fix g_rdbg_instance initialization



Initialize g_rdbg_instance properly to fix a kernel compilation failure.

Change-Id: I2957e8d2aaf1fcdcffbe43965784853deba2ef34
Signed-off-by: default avatarJiaxing Shi <jiaxsh@codeaurora.org>
parent 20f26478
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -137,11 +137,10 @@ struct rdbg_device {

int registers[32] = {0};
static struct rdbg_device g_rdbg_instance = {
	{ {0} },
	NULL,
	0,
	SMP2P_NUM_PROCS,
	NULL
	.class = NULL,
	.dev_no = 0,
	.num_devices = SMP2P_NUM_PROCS,
	.rdbg_data = NULL,
};

struct processor_specific_info {