• Andreas Ruprecht's avatar
    net: wireless: rtlwifi: Do not always include drivers in obj-m · 927a7087
    Andreas Ruprecht authored
    In four of the rtlwifi drivers, the Makefile contains superfluous
    statements indicating the compilation of the driver as an LKM
    regardless of the corresponding Kconfig option.
    
    If the corresponding option is set to 'y', the build system will then
    see the object file in obj-m and obj-y, which leads to a compilation
    as a built-in only. Even though this leads to the desired behavior,
    the unconditional appearance in obj-m is confusing for someone reading
    the Makefile.
    
    This patch removes the superfluous Makefile statements.
    Signed-off-by: default avatarAndreas Ruprecht <rupran@einserver.de>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    927a7087
Makefile 238 Bytes