Skip to content
  • Adrian Bunk's avatar
    always enable FW_LOADER unless EMBEDDED=y · d9b19199
    Adrian Bunk authored
    
    
    James Bottomley recently discovered that we have
    {request,release}_firmware() dummies for the case of the actual
    functions not being available and has a fix for the bug that was
    actually causing build errors for built-in users with
    CONFIG_FW_LOADER=m.
    
    But now missing selects on FW_LOADER are no longer visible at
    compile-time at all and can become runtime problems.
    
    FW_LOADER is infrastructure with relatively small codesize we can safely
    enable for everyone, and only for people who really need small kernels
    (and can be expected to know what they are doing) it matters being able
    to disable it.
    
    This patch therefore always sets FW_LOADER=y and allows users only to
    disable it with EMBEDDED=y.
    
    As a bonus, we can then get rid of all "select FW_LOADER" plus the due
    to it required "depends on HOTPLUG" which removes some complexity from
    our Kconfig files.
    
    Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    d9b19199