Skip to content
Snippets Groups Projects
Select Git revision
  • 13f6f62f61b4d3d5f45bed889128bb7ff3fda5ed
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

class.c

  • Paul Gortmaker's avatar
    270a3bd6
    rtc: make class.c explicitly non-modular · 270a3bd6
    Paul Gortmaker authored
    
    The Makefile/Kconfig currently controlling compilation of this code is:
    
    obj-$(CONFIG_RTC_CLASS)         += rtc-core.o
    rtc-core-y                      := class.o interface.o
    
    drivers/rtc/Kconfig:menuconfig RTC_CLASS
    drivers/rtc/Kconfig:    bool "Real Time Clock"
    
    ...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 code there is no doubt it is builtin-only.
    
    We don't replace module.h with init.h since the file does need
    to know what a struct module is.
    
    We also delete the MODULE_LICENSE tag etc. since all that information
    is already contained at the top of the file in the comments.
    
    Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
    270a3bd6
    History
    rtc: make class.c explicitly non-modular
    Paul Gortmaker authored
    
    The Makefile/Kconfig currently controlling compilation of this code is:
    
    obj-$(CONFIG_RTC_CLASS)         += rtc-core.o
    rtc-core-y                      := class.o interface.o
    
    drivers/rtc/Kconfig:menuconfig RTC_CLASS
    drivers/rtc/Kconfig:    bool "Real Time Clock"
    
    ...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 code there is no doubt it is builtin-only.
    
    We don't replace module.h with init.h since the file does need
    to know what a struct module is.
    
    We also delete the MODULE_LICENSE tag etc. since all that information
    is already contained at the top of the file in the comments.
    
    Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>