[PATCH 3/3] s390: fix to_channelpath macro

From: Heiko Carstens
Date: Thu Feb 02 2006 - 04:53:38 EST


From: Cornelia Huck <cornelia.huck@xxxxxxxxxx>

Fix broken to_channelpath macro (fortunately worked in all current cases...).

Signed-off-by: Cornelia Huck <cohuck@xxxxxxxxxx>
Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
---

drivers/s390/cio/chsc.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -urpN linux-2.6/drivers/s390/cio/chsc.h linux-2.6-patched/drivers/s390/cio/chsc.h
--- linux-2.6/drivers/s390/cio/chsc.h 2006-02-02 09:52:57.000000000 +0100
+++ linux-2.6-patched/drivers/s390/cio/chsc.h 2006-02-02 09:53:29.000000000 +0100
@@ -68,6 +68,6 @@ extern void *chsc_get_chp_desc(struct su

extern int chsc_enable_facility(int);

-#define to_channelpath(dev) container_of(dev, struct channel_path, dev)
+#define to_channelpath(device) container_of(device, struct channel_path, dev)

#endif
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/