[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240627131919.09b31c03@dellmb>
Date: Thu, 27 Jun 2024 13:19:19 +0200
From: Marek BehĂșn <kabel@...nel.org>
To: Chris Packham <chris.packham@...iedtelesis.co.nz>
Cc: tglx@...utronix.de, robh@...nel.org, krzk+dt@...nel.org,
conor+dt@...nel.org, tsbogend@...ha.franken.de, daniel.lezcano@...aro.org,
paulburton@...nel.org, peterz@...radead.org, mail@...ger-koblitz.de,
bert@...t.com, john@...ozen.org, sander@...nheule.net,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
linux-mips@...r.kernel.org, ericwouds@...il.com
Subject: Re: [PATCH v3 8/9] mips: generic: add fdt fixup for Realtek
reference board
On Thu, 27 Jun 2024 16:33:16 +1200
Chris Packham <chris.packham@...iedtelesis.co.nz> wrote:
> +static __init int realtek_add_initrd(void *fdt)
> +{
> + int node, err;
> + u32 start, size;
> +
> + node = fdt_path_offset(fdt, "/chosen");
> + if (node < 0) {
> + pr_err("/chosen node not found\n");
linux/printk.h
> +static const struct of_device_id realtek_of_match[] __initconst = {
> + {
> + .compatible = "realtek,rtl9302",
> + },
One line instead of three?
Marek
Powered by blists - more mailing lists