mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
hwrng: imx-rngc - mark the probe function as __init
Mark the imx_rngc_probe function as __init. There's no need to support hotplugging in the imx-rngc driver. We use module_platform_driver_probe, the probe function will only be called at startup. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
44777807fb
commit
ac2cc2406e
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ static void imx_rngc_cleanup(struct hwrng *rng)
|
|||
imx_rngc_irq_mask_clear(rngc);
|
||||
}
|
||||
|
||||
static int imx_rngc_probe(struct platform_device *pdev)
|
||||
static int __init imx_rngc_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct imx_rngc *rngc;
|
||||
int ret;
|
||||
|
|
Loading…
Reference in a new issue