s390: fix to_channelpath macro
Subsystems (2)
PATCH 3/3 s390: fix to_channelpath macro
From: Cornelia Huck <[email protected]>
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]>
---
drivers/s390/cio/chsc.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/s390/cio/chsc.h +1 -1
@@ -68,6 +68,6 @@ extern void *chsc_get_chp_desc(struct suextern 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