Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932558Ab0HOQRv (ORCPT ); Sun, 15 Aug 2010 12:17:51 -0400 Received: from borg.asidev.net ([95.141.32.69]:38900 "EHLO borg.asidev.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932245Ab0HOQRu (ORCPT ); Sun, 15 Aug 2010 12:17:50 -0400 Message-ID: <4C67F815.8020808@evidence.eu.com> Date: Sun, 15 Aug 2010 16:22:13 +0200 From: Claudio Scordino User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: linux-arm-kernel CC: Linux Kernel , Nicolas Ferre , Alan Cox , Rick Bronson , linux-serial@vger.kernel.org Subject: RS485: ioctls defined twice ? Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 659 Lines: 20 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/