RS485: ioctls defined twice ?

From: Claudio Scordino
Date: Sun Aug 15 2010 - 12:17:55 EST


Hi all,

is there any reason why ioctls TIOCGRS485 and TIOCSRS485 are defined (with the same values) in both include/asm-generic/ioctls.h and arch/arm/include/asm/ioctls.h ?

The same happens also for avr32, powerpc and cris (which, however, defines a different value for TIOCSRS485).

Is it duplicated code ?

Or should these values stay in both asm/ioctls.h and asm-generic/ioctls.h ?

Many thanks,

Claudio


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/