All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.5.60 - drivers/char/esp.c vs include/linux/serialP.h
@ 2003-02-14 20:39 Valdis.Kletnieks
  2003-02-14 20:54 ` Russell King
  0 siblings, 1 reply; 3+ messages in thread
From: Valdis.Kletnieks @ 2003-02-14 20:39 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 522 bytes --]

compiling drivers/char/esp.c with -Wundef triggers a warning:

In file included from drivers/char/esp.c:51:
include/linux/serialP.h:27:6: warning: "LINUX_VERSION_CODE" is not defined

The code that trips it up:

#if (LINUX_VERSION_CODE < 0x020300)
/* Unfortunate, but Linux 2.2 needs async_icount defined here and
 * it got moved in 2.3 */
#include <linux/serial.h>
#endif

It's unclear if this should be fixed by adding a #include <linux/version.h>
to esp.c, or if this code should summarily be lopped out of serialP.h.


[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-02-14 21:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-14 20:39 2.5.60 - drivers/char/esp.c vs include/linux/serialP.h Valdis.Kletnieks
2003-02-14 20:54 ` Russell King
2003-02-14 21:16   ` Valdis.Kletnieks

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.