[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Ylap8rTKbXp80Woc@smile.fi.intel.com>
Date: Wed, 13 Apr 2022 13:46:10 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Javier Martinez Canillas <javierm@...hat.com>
Cc: linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Neil Armstrong <narmstrong@...libre.com>,
Rob Herring <robh@...nel.org>, dri-devel@...ts.freedesktop.org,
Mark Brown <broonie@...nel.org>,
Chen-Yu Tsai <wens@...nel.org>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Daniel Vetter <daniel@...ll.ch>,
David Airlie <airlied@...ux.ie>
Subject: Re: [PATCH v3 4/5] drm/solomon: Move device info from ssd130x-i2c to
the core driver
On Tue, Apr 12, 2022 at 06:27:28PM +0200, Javier Martinez Canillas wrote:
> These are declared in the ssd130x-i2c transport driver but the information
> is not I2C specific, and could be used by other SSD130x transport drivers.
>
> Move them to the ssd130x core driver and just set the OF device entries to
> an ID that could be used to lookup the correct device info from an array.
>
> While being there, also move the SSD130X_DATA and SSD130X_COMMAND control
> bytes. Since even though they are used by the I2C interface, they could
> also be useful for other transport protocols such as SPI.
...
> +EXPORT_SYMBOL_GPL(ssd130x_variants);
What I meant is to use EXPORT_SYMBOL_NS_GPL() here. It might require a separate
patch to move other exports to that namespace first.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists