mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Re: 2.5.70-mm5: sc1200.c compile error if !CONFIG_PROC_FS
@ 2003-06-07 15:31 Bartlomiej Zolnierkiewicz
  2003-06-07 16:07 ` Adrian Bunk
  0 siblings, 1 reply; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2003-06-07 15:31 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-ide, linux-kernel


Fixed now.
--
Bartlomiej

[ide] fix compilation of NS SC1x00 driver without procfs

 drivers/ide/pci/sc1200.c |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff -puN drivers/ide/pci/sc1200.c~ide-sc1200-noprocfs-fix drivers/ide/pci/sc1200.c
--- linux-2.5.70-bk11/drivers/ide/pci/sc1200.c~ide-sc1200-noprocfs-fix	Sat Jun  7 17:15:46 2003
+++ linux-2.5.70-bk11-root/drivers/ide/pci/sc1200.c	Sat Jun  7 17:22:15 2003
@@ -32,17 +32,6 @@
 #include "ide_modes.h"
 #include "sc1200.h"
 
-#define DISPLAY_SC1200_TIMINGS
-
-#if defined(DISPLAY_SC1200_TIMINGS) && defined(CONFIG_PROC_FS)
-#include <linux/stat.h>
-#include <linux/proc_fs.h>
-
-static int sc1200_get_info(char *, char **, off_t, int);
-extern int (*sc1200_display_info)(char *, char **, off_t, int); /* ide-proc.c */
-extern char *ide_media_verbose(ide_drive_t *);
-static u8 sc1200_proc = 0;
-
 #define SC1200_REV_A	0x00
 #define SC1200_REV_B1	0x01
 #define SC1200_REV_B3	0x02
@@ -81,6 +70,17 @@ static unsigned short sc1200_get_pci_clo
 	return pci_clock;
 }
 
+#define DISPLAY_SC1200_TIMINGS
+
+#if defined(DISPLAY_SC1200_TIMINGS) && defined(CONFIG_PROC_FS)
+#include <linux/stat.h>
+#include <linux/proc_fs.h>
+
+static int sc1200_get_info(char *, char **, off_t, int);
+extern int (*sc1200_display_info)(char *, char **, off_t, int); /* ide-proc.c */
+extern char *ide_media_verbose(ide_drive_t *);
+static u8 sc1200_proc = 0;
+
 static struct pci_dev *bmide_dev;
 
 static int sc1200_get_info (char *buffer, char **addr, off_t offset, int count)

_


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Re: 2.5.70-mm5: sc1200.c compile error if !CONFIG_PROC_FS
  2003-06-07 15:31 [PATCH] Re: 2.5.70-mm5: sc1200.c compile error if !CONFIG_PROC_FS Bartlomiej Zolnierkiewicz
@ 2003-06-07 16:07 ` Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2003-06-07 16:07 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz; +Cc: linux-ide, linux-kernel

On Sat, Jun 07, 2003 at 05:31:28PM +0200, Bartlomiej Zolnierkiewicz wrote:
> 
> Fixed now.
> --
> Bartlomiej
> 
> [ide] fix compilation of NS SC1x00 driver without procfs
>...

Yes, this fixes it.

Thanks for your quick reply
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-07 15:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-07 15:31 [PATCH] Re: 2.5.70-mm5: sc1200.c compile error if !CONFIG_PROC_FS Bartlomiej Zolnierkiewicz
2003-06-07 16:07 ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®