Re: [PATCH 1/2] mtd/rawnand: ingenic-ecc: Make probe function __init_or_module

2019-06-08 Thread Paul Cercueil
I misunderstood what __init_or_module was for. Please ignore this patchset. Sorry for the noise. Le ven. 7 juin 2019 à 18:01, Paul Cercueil a écrit : 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

[PATCH 1/2] mtd/rawnand: ingenic-ecc: Make probe function __init_or_module

2019-06-07 Thread Paul Cercueil
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. Signed-off-by: Paul Cercueil --- drivers/mtd/nand/raw/ingenic/ingenic_ecc.c | 2 +- drivers/mtd/nand/raw/ingenic/ingenic_ecc.h | 3 ++-