
Dear Tom,
In message 49D3D262.5010602@windriver.com you wrote:
diff --git a/include/serial.h b/include/serial.h index e3d8b36..aca5221 100644 --- a/include/serial.h +++ b/include/serial.h @@ -42,6 +42,13 @@ extern struct serial_device s3c24xx_serial1_device; extern struct serial_device s3c24xx_serial2_device; #endif
+#if defined(CONFIG_OMAP3_ZOOM2) +extern struct serial_device zoom2_serial_device0; +extern struct serial_device zoom2_serial_device1; +extern struct serial_device zoom2_serial_device2; +extern struct serial_device zoom2_serial_device3; +#endif
Please don't add such strictly board-specific code to global header files.
The other boards that do CONFIG_SERIAL_MULTI do the same thing. Can I have a pass on this ?
Hm.. well, OK.
We should try to fnd a better solution, though. This doesn't scale well.
Ideas welcome.
Best regards,
Wolfgang Denk