mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
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) <jirislaby@kernel.org>
Link: https://patch.msgid.link/20260703084717.176442-3-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
17 lines
310 B
C
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 */
|