]> 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)
commita7b68ed15d1fd72c1e451d5eb6edebee2a624b90
treeac562a592bd3035a1d74dc76c2e11a89150c9605
parentb1a89856fbf63fffde6a4771d8f1ac21df549e50
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