mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 00:21:32 +00:00
61a6976bf1
This takes a bit of a sledgehammer to the horribly CPU subtype ifdef-ridden header and abstracts all of the different register layouts in to distinct types which in turn can be overriden on a per-port basis, or permitted to default to the map matching the port type at probe time. In the process this ultimately fixes up inumerable bugs with mismatches on various CPU types (particularly the legacy ones that were obviously broken years ago and no one noticed) and provides a more tightly coupled and consolidated platform for extending and implementing generic features. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
8 lines
190 B
C
8 lines
190 B
C
#ifndef __CPU_SH4A_SERIAL_H
|
|
#define __CPU_SH4A_SERIAL_H
|
|
|
|
/* arch/sh/kernel/cpu/sh4a/serial-sh7722.c */
|
|
extern struct plat_sci_port_ops sh7722_sci_port_ops;
|
|
|
|
#endif /* __CPU_SH4A_SERIAL_H */
|