Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 7 Nov 2001 08:43:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 7 Nov 2001 08:43:12 -0500 Received: from sj-msg-core-4.cisco.com ([171.71.163.10]:28108 "EHLO sj-msg-core-4.cisco.com") by vger.kernel.org with ESMTP id ; Wed, 7 Nov 2001 08:42:59 -0500 Message-ID: <3BE93A47.6510B204@cisco.com> Date: Wed, 07 Nov 2001 19:12:31 +0530 From: Manik Raina Organization: Cisco Systems Inc. X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-12 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-kernel@vger.kernel.org Subject: ps2esdi.c broken ? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org when PS2 ESDI support is enabled (in kernel without module support) , ps2esdi.c breaks during compilation. looks like it's missing module.h ps2esdi.c:153: `THIS_MODULE' undeclared here (not in a function) ps2esdi.c:153: initializer element for `ps2esdi_fops.owner' is not constant ps2esdi.c:157: initializer element for `ps2esdi_fops' is not constant this fix works .... --- /home/manik/linux/orig/linux/drivers/block/ps2esdi.c Fri Oct 26 02:28:34 2001 +++ ./ps2esdi.c Wed Nov 7 18:35:07 2001 @@ -27,6 +27,7 @@ + reset after read/write error */ +#include #include #include - 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/