[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5921681.lOV4Wx5bFT@eto.sf-tec.de>
Date: Thu, 06 Apr 2023 21:08:33 +0200
From: Rolf Eike Beer <eike-kernel@...tec.de>
To: arnd@...db.de, daniel.vetter@...ll.ch, deller@....de,
javierm@...hat.com, gregkh@...uxfoundation.org,
Thomas Zimmermann <tzimmermann@...e.de>
Cc: linux-arch@...r.kernel.org, linux-fbdev@...r.kernel.org,
dri-devel@...ts.freedesktop.org,
linux-snps-arc@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-ia64@...r.kernel.org,
loongarch@...ts.linux.dev, linux-m68k@...ts.linux-m68k.org,
linux-mips@...r.kernel.org, linux-parisc@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, linux-sh@...r.kernel.org,
sparclinux@...r.kernel.org, x86@...nel.org,
Thomas Zimmermann <tzimmermann@...e.de>,
"James E.J. Bottomley" <James.Bottomley@...senpartnership.com>
Subject: Re: [PATCH 12/18] arch/parisc: Implement fb_is_primary_device() under arch/parisc
Am Mittwoch, 5. April 2023, 17:05:48 CEST schrieb Thomas Zimmermann:
> Move PARISC's implementation of fb_is_primary_device() into the
> architecture directory. This the place of the declaration and
> where other architectures implement this function. No functional
> changes.
> diff --git a/arch/parisc/video/fbdev.c b/arch/parisc/video/fbdev.c
> new file mode 100644
> index 000000000000..4a0ae08fc75b
> --- /dev/null
> +++ b/arch/parisc/video/fbdev.c
> @@ -0,0 +1,27 @@
> +// SPDX-License-Identifier: GPL-2.0-only
> +/*
> + * Copyright (C) 2000 Philipp Rumpf <prumpf@....org>
> + * Copyright (C) 2001-2020 Helge Deller <deller@....de>
> + * Copyright (C) 2001-2002 Thomas Bogendoerfer <tsbogend@...ha.franken.de>
> + */
> +
> +#include <linux/module.h>
> +
> +#include <asm/fb.h>
> +
> +#include <video/sticore.h>
> +
> +int fb_is_primary_device(struct fb_info *info)
> +{
Looking at this makes me wonder why the argument to all of these functions
isn't const? Not your fault, but could be a candidate for patch #19?
Eike
Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)
Powered by blists - more mailing lists