Re: [PATCH] spi: Add builtin_spi_driver() to avoid registration boilerplate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 13, 2015 at 03:53:57PM -0500, Paul Gortmaker wrote:

> Here we use that support and extend it to SPI driver registration, so where
> a driver is clearly non-modular and builtin-only, we can register it in a
> similar fashion.  Existing code that is clearly non-modular can be updated
> with the simple mapping of

>   module_spi_driver(...)  ---> builtin_spi_driver(...)

> We've essentially cloned the former to make the latter, and taken out the
> remove/module_exit parts since those never get used in a non-modular build
> of the code.

Why would it be sensible to have a SPI driver that can't be built as a
module?

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux