lkml.org 
[lkml]   [1997]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPATCH: ppa.c 2.1.48/2.1.49
Hi,

The following patch is necessary to get the PPA-driver compiled in the kernel
version 2.1.48 and 2.1.49.
(ld can't find ppa_release)


Gert

================================================================================


diff -urN /usr/src/linux-2.1.x/drivers/scsi/ppa.c /tmp/linux/drivers/scsi/ppa.c
--- /usr/src/linux-2.1.x/drivers/scsi/ppa.c Tue Aug 5 20:18:41 1997
+++ /tmp/linux/drivers/scsi/ppa.c Tue Aug 5 21:46:14 1997
@@ -225,7 +225,7 @@
return;
}

-static int ppa_release(struct Scsi_Host *host)
+int ppa_release(struct Scsi_Host *host)
{
int host_no = host->unique_id;

diff -urN /usr/src/linux-2.1.x/drivers/scsi/ppa.h /tmp/linux/drivers/scsi/ppa.h
--- /usr/src/linux-2.1.x/drivers/scsi/ppa.h Tue Aug 5 21:07:06 1997
+++ /tmp/linux/drivers/scsi/ppa.h Tue Aug 5 21:47:27 1997
@@ -52,7 +52,7 @@
int ppa_reset(Scsi_Cmnd *, unsigned int);
int ppa_proc_info(char *, char **, off_t, int, int, int);
int ppa_biosparam(Disk *, kdev_t, int*);
-static int ppa_release(struct Scsi_Host *);
+int ppa_release(struct Scsi_Host *);

#ifndef MODULE
#ifdef PPA_CODE

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.016 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site