]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: mvme: Remove overdue #warnings in RTC handling
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 7 Sep 2021 12:45:11 +0000 (14:45 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 13 Sep 2021 09:19:05 +0000 (11:19 +0200)
commit3e8b5c1772d84ba4607699ca16d082a3f648e524
treeac562a592bd3035a1d74dc76c2e11a89150c9605
parent90fc48ebb3af716f001f657d45ac41cd5f77ef29
m68k: mvme: Remove overdue #warnings in RTC handling

The warnings were introduced when converting the MVME147 and MVME16x
RTC handling from gettod to hwclk.  Replace the #warning by a comment,
and return an error to inform the upper layer that writing to the RTC is
not yet supported.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210907124511.2723414-1-geert@linux-m68k.org
arch/m68k/mvme147/config.c
arch/m68k/mvme16x/config.c