[PATCH] s390: fix to_channelpath macro
authorCornelia Huck <[email protected]>
Fri, 3 Feb 2006 11:03:52 +0000 (03:03 -0800)
committerLinus Torvalds <[email protected]>
Fri, 3 Feb 2006 16:32:01 +0000 (08:32 -0800)
Fix broken to_channelpath macro (fortunately worked in all current cases...).

Signed-off-by: Cornelia Huck <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/s390/cio/chsc.h

index 44e4b4bb1c5abf86c7f069fc2759209f4c556ea8..3e75095f35d03e70f21bb43304d9fa537258c8fa 100644 (file)
@@ -68,6 +68,6 @@ extern void *chsc_get_chp_desc(struct subchannel*, int);
 
 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