Re: [PATCH 22/52] m68k: atari: Add and use "atari.h"

From: Finn Thain
Date: Thu Sep 07 2023 - 19:57:06 EST


On Thu, 7 Sep 2023, Geert Uytterhoeven wrote:

> diff --git a/arch/m68k/atari/atari.h b/arch/m68k/atari/atari.h
> new file mode 100644
> index 0000000000000000..494a03ddac3d16ae
> --- /dev/null
> +++ b/arch/m68k/atari/atari.h
> @@ -0,0 +1,15 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
> +
> +struct rtc_time;
> +
> +/* ataints.c */
> +void atari_init_IRQ(void);
> +
> +/* atasound.c */
> +void atari_microwire_cmd(int cmd);
> +void atari_mksound(unsigned int hz, unsigned int ticks);
> +
> +/* time.c */
> +void atari_sched_init(void);
> +int atari_mste_hwclk(int op, struct rtc_time *t);
> +int atari_tt_hwclk(int op, struct rtc_time *t);

Wouldn't atariints.h and atarihw.h be more appropriate places for some of
these?