Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 7 Feb 2003 18:36:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 7 Feb 2003 18:36:18 -0500 Received: from smtpzilla5.xs4all.nl ([194.109.127.141]:38667 "EHLO smtpzilla5.xs4all.nl") by vger.kernel.org with ESMTP id ; Fri, 7 Feb 2003 18:36:17 -0500 Date: Sat, 8 Feb 2003 00:45:46 +0100 (CET) From: Roman Zippel X-X-Sender: roman@serv To: Andries.Brouwer@cwi.nl cc: linux-kernel@vger.kernel.org, Subject: Re: [PATCH] kill i_cdev and struct char_device In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 723 Lines: 19 Hi, On Sat, 8 Feb 2003 Andries.Brouwer@cwi.nl wrote: > [the whole purpose of struct block_device is to provide the link > between a device number and a struct block_device_operations. > struct char_device has no such function, indeed, no function at all] Why do you think, the same shouldn't be done for char_device? You are removing the wrong infrastructure, check how block_dev.c changed between 2.4 and 2.5 and the same still needs to be done for char_dev.c. bye, Roman - 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/