Merge tag 'renesas-drivers-for-v6.8-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into soc/drivers
Renesas driver updates for v6.8 - Remove duplicate setup of soc_device_attribute.family, - Make RZ/Five depend on !DMA_DIRECT_REMAP. * tag 'renesas-drivers-for-v6.8-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel: soc: renesas: Make RZ/Five depend on !DMA_DIRECT_REMAP soc: renesas: Remove duplicate setup of soc_device_attribute.family Link: https://lore.kernel.org/r/cover.1702642340.git.geert+renesas@glider.be Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
@@ -340,6 +340,7 @@ if RISCV
|
||||
config ARCH_R9A07G043
|
||||
bool "RISC-V Platform support for RZ/Five"
|
||||
depends on NONPORTABLE
|
||||
depends on !DMA_DIRECT_REMAP
|
||||
depends on RISCV_ALTERNATIVE
|
||||
depends on !RISCV_ISA_ZICBOM
|
||||
depends on RISCV_SBI
|
||||
|
||||
@@ -486,10 +486,6 @@ static int __init renesas_soc_init(void)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
np = of_find_node_by_path("/");
|
||||
of_property_read_string(np, "model", &soc_dev_attr->machine);
|
||||
of_node_put(np);
|
||||
|
||||
soc_dev_attr->family = kstrdup_const(family->name, GFP_KERNEL);
|
||||
soc_dev_attr->soc_id = kstrdup_const(soc_id, GFP_KERNEL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user