Re: [PATCH v3 8/9] mips: generic: add fdt fixup for Realtek reference board

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 27 Jun 2024 16:33:16 +1200
Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx> 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




[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux