]> www.infradead.org Git - users/dwmw2/linux.git/commit
RISC-V: ACPI: Update the return value of acpi_get_rhct()
authorSunil V L <sunilvl@ventanamicro.com>
Wed, 18 Oct 2023 12:40:05 +0000 (18:10 +0530)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 26 Oct 2023 16:40:32 +0000 (09:40 -0700)
commita06835227280436c1aae021a3f43d3abfcba3835
tree1363ddf74903717f4b1244fe0cbf66c5cf3ec337
parente8065df5b0c46086ad539beb7745ea26b26a7623
RISC-V: ACPI: Update the return value of acpi_get_rhct()

acpi_get_rhct() currently returns pointer to acpi_table_header
structure. But since this is specific to RHCT, return pointer to
acpi_table_rhct structure itself.

Suggested-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20231018124007.1306159-3-sunilvl@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
drivers/acpi/riscv/rhct.c