Re: [PATCH] spi: spi-gpio: Make probe function __init_or_module

From: Enrico Weigelt, metux IT consult
Date: Mon Jun 24 2019 - 14:42:56 EST


On 07.06.19 17:59, Mark Brown wrote:
> On Fri, Jun 07, 2019 at 05:56:31PM +0200, Paul Cercueil wrote:
>> This allows the probe function to be dropped after the kernel finished
>> its initialization, in the case where the driver was not compiled as a
>> module.
>
> Hopefully not since we might probe later on if something registers a new
> device...
>

Common pitfall. Also fallen into this myself and wondered why
it oops'd :o.


--mtx

--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info@xxxxxxxxx -- +49-151-27565287