Skip to contentSkip to conversation

s390: fix to_channelpath macro

PATCH New Heiko Carstens 1 participant 1 message Feb 2, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/3 s390: fix to_channelpath macro

From: Cornelia Huck <[email protected]>

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

---

 drivers/s390/cio/chsc.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/s390/cio/chsc.h +1 -1
diff -urpN linux-2.6/drivers/s390/cio/chsc.h linux-2.6-patched/drivers/s390/cio/chsc.h
@@ -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