lkml.org 
[lkml]   [2000]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
On Tue, 7 Nov 2000, Tomasz Motylewski wrote:

> 2.2.18pre19:
> ide-probe.c:400: `rtc_lock' undeclared (first use this function)
> ide-probe.c:400: (Each undeclared identifier is reported only once
> ide-probe.c:400: for each function it appears in.)

See the attached patch. Just declares it as an extern spinlock_t, as
per a boatload of other places in the kernel.

Mark

--
+-------------------------------------------------------------------------+
Mark Cooke The views expressed above are mine and are not
Systems Programmer necessarily representative of university policy
University Of Birmingham URL: http://www.sr.bham.ac.uk/~mpc/
+-------------------------------------------------------------------------+
--- linux/drivers/block/ide-probe.c.orig Sat Nov 4 06:32:43 2000
+++ linux/drivers/block/ide-probe.c Sat Nov 4 06:32:52 2000
@@ -43,6 +43,8 @@
#include <asm/uaccess.h>
#include <asm/io.h>

+extern spinlock_t rtc_lock;
+
#include "ide.h"

static inline void do_identify (ide_drive_t *drive, byte cmd)
\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.047 / U:7.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site