• Paul Gortmaker's avatar
    drivers/staging: make emxx_udc.c explicitly non-modular · 0af61e66
    Paul Gortmaker authored
    The Kconfig currently controlling compilation of this code is:
    
    drivers/staging/emxx_udc/Kconfig:config USB_EMXX
    drivers/staging/emxx_udc/Kconfig:       bool "EMXX USB Function Device Controller"
    
    ...meaning that it currently is not being built as a module by anyone.
    
    Lets remove the modular code that is essentially orphaned, so that
    when reading the driver there is no doubt it is builtin-only.
    
    Since module_platform_driver() uses the same init level priority as
    builtin_platform_driver() the init ordering remains unchanged with
    this commit.
    
    The .remove function was declared __exit, so it wouldn't have been
    available for a sysfs bind/unbind anyway, so lets be explicit here and
    use ".suppress_bind_attrs = true" to prevent root from doing something
    silly.
    
    We also delete the MODULE_LICENSE tag etc. since all that information
    is already contained at the top of the file in the comments.
    
    Cc: Vincenzo Scotti <vinc94@gmail.com>
    Cc: Haneen Mohammed <hamohammed.sa@gmail.com>
    Cc: Felipe Balbi <balbi@ti.com>
    Cc: Roberta Dobrescu <roberta.dobrescu@gmail.com>
    Cc: Tapasweni Pathak <tapaswenipathak@gmail.com>
    Cc: Peter Chen <peter.chen@freescale.com>
    Cc: Robert Baldyga <r.baldyga@samsung.com>
    Cc: Chris Rorvick <chris@rorvick.com>
    Cc: "Gujulan Elango, Hari Prasath (H.)" <hgujulan@visteon.com>
    Cc: devel@driverdev.osuosl.org
    Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    0af61e66
emxx_udc.c 76.8 KB