public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.5.50-current-bk and EDD
@ 2002-12-02 18:36 Petr Vandrovec
  2002-12-02 19:01 ` Mike Anderson
  0 siblings, 1 reply; 2+ messages in thread
From: Petr Vandrovec @ 2002-12-02 18:36 UTC (permalink / raw)
  To: Matt_Domsch; +Cc: linux-kernel

Hi Matt,
   I'm not sure that this patch is correct, but at least I can
compile kernel now. As I have no SCSI devices in the box, I have
no idea whether this to_scsi_host() should do same thing as
to_scsi_host() in drivers/scsi does...
				Thanks,
					Petr Vandrovec
				


diff -urdN linux/arch/i386/kernel/edd.c linux/arch/i386/kernel/edd.c
--- linux/arch/i386/kernel/edd.c	2002-12-02 17:28:11.000000000 +0000
+++ linux/arch/i386/kernel/edd.c	2002-12-02 17:36:49.000000000 +0000
@@ -686,8 +686,6 @@
  * The reference counting probably isn't the best it could be.
  */
 
-#define	to_scsi_host(d)	\
-	container_of(d, struct Scsi_Host, host_driverfs_dev)
 #define children_to_dev(n) container_of(n,struct device,node)
 static struct scsi_device *
 edd_find_matching_scsi_device(struct edd_device *edev)

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

end of thread, other threads:[~2002-12-02 18:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-02 18:36 [PATCH] 2.5.50-current-bk and EDD Petr Vandrovec
2002-12-02 19:01 ` Mike Anderson

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