15 Mar, 2016

1 commit

  • The driver uses the MODULE_ALIAS() macro to export a platform module alias
    to allow the module to be autoloaded if the device is registered using the
    legacy platform registration mechanism but the driver is always used by OF
    only machines so the alias is not needed and should just be removed.

    Suggested-by: Arnd Bergmann
    Signed-off-by: Javier Martinez Canillas
    Signed-off-by: Alexandre Belloni

    Javier Martinez Canillas
     

06 Sep, 2015

1 commit


05 Sep, 2015

1 commit


18 Jul, 2015

1 commit


25 Jun, 2015

2 commits

  • On some !ARM 32bits platforms, the following compilation error happens
    because of the division on a 64bits value in mtk_rtc_read_time():

    drivers/built-in.o: In function `mtk_rtc_read_time':
    rtc-mt6397.c:(.text+0x265d13f): undefined reference to `__divdi3'
    rtc-mt6397.c:(.text+0x265d150): undefined reference to `__moddi3'

    Use div_s64() as done in rtc_time64_to_tm() to solve that.

    Reported-by: kbuild test robot
    Acked-by: Eddie Huang
    Signed-off-by: Alexandre Belloni

    Alexandre Belloni
     
  • Add Mediatek MT6397 RTC driver

    Signed-off-by: Tianping Fang
    Signed-off-by: Eddie Huang
    Signed-off-by: Alexandre Belloni

    Tianping Fang