Files
Jiri Slaby (SUSE) e31bd02f19 tty: goldfish: move gf_write_ptr() to tty/goldfish.c
tty/goldfish.c is the only user of gf_write_ptr(). Move it there, drop
the unneeded casts, and name it appropriately.

FTR, the last non-tty user was removed in 2018 by 4ae0fe70a0 ("Delete
the goldfish_nand driver.").

Signed-off-by: Jiri Slaby (SUSE) <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2026-07-03 13:01:52 +02:00

17 lines
310 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __LINUX_GOLDFISH_H
#define __LINUX_GOLDFISH_H
#include <linux/io.h>
/* Helpers for Goldfish virtual platform */
#ifndef gf_ioread32
#define gf_ioread32 ioread32
#endif
#ifndef gf_iowrite32
#define gf_iowrite32 iowrite32
#endif
#endif /* __LINUX_GOLDFISH_H */