85725449f3
If CONFIG_SERIAL_8250_HP300=y and CONFIG_SERIAL_8250_CONSOLE=y (e.g.
m68k/allyesconfig):
drivers/tty/serial/8250/8250_hp300.c:91:12: error: no previous prototype for ‘hp300_setup_serial_console’ [-Werror=missing-prototypes]
91 | int __init hp300_setup_serial_console(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
Fix this by moving the existing prototype in arch/m68k/hp300/config.c to
<linux/serial_8250.h>, so it is visible to both caller and implementor.
While at it, provide a dummy in case CONFIG_SERIAL_8250_CONSOLE is not
enabled, to reduce #ifdef clutter in the caller.
Exposed by commit
|
||
---|---|---|
.. | ||
config.c | ||
hp300map.map | ||
Makefile | ||
README.hp300 | ||
reboot.S | ||
time.c | ||
time.h |
HP300 notes ----------- The Linux/HP web page is at <http://www.tazenda.demon.co.uk/phil/linux-hp/> Currently only 9000/340 machines have been tested. Any amount of RAM should work now but I've only tried 16MB and 12MB. The serial console is probably broken at the moment but the Topcat/HIL keyboard combination seems to work for me. Your mileage may vary. The LANCE driver works after a fashion but only if you reset the chip before every packet. This doesn't make for very speedy operation.