diff options
Diffstat (limited to 'drivers/s390/cio/chsc.c')
-rw-r--r-- | drivers/s390/cio/chsc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/cio/chsc.c b/drivers/s390/cio/chsc.c index b35fe12e6bfc..b86f94ecd874 100644 --- a/drivers/s390/cio/chsc.c +++ b/drivers/s390/cio/chsc.c | |||
@@ -852,7 +852,7 @@ out: | |||
852 | * Files for the channel path entries. | 852 | * Files for the channel path entries. |
853 | */ | 853 | */ |
854 | static ssize_t | 854 | static ssize_t |
855 | chp_status_show(struct device *dev, char *buf) | 855 | chp_status_show(struct device *dev, struct device_attribute *attr, char *buf) |
856 | { | 856 | { |
857 | struct channel_path *chp = container_of(dev, struct channel_path, dev); | 857 | struct channel_path *chp = container_of(dev, struct channel_path, dev); |
858 | 858 | ||
@@ -863,7 +863,7 @@ chp_status_show(struct device *dev, char *buf) | |||
863 | } | 863 | } |
864 | 864 | ||
865 | static ssize_t | 865 | static ssize_t |
866 | chp_status_write(struct device *dev, const char *buf, size_t count) | 866 | chp_status_write(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) |
867 | { | 867 | { |
868 | struct channel_path *cp = container_of(dev, struct channel_path, dev); | 868 | struct channel_path *cp = container_of(dev, struct channel_path, dev); |
869 | char cmd[10]; | 869 | char cmd[10]; |
@@ -888,7 +888,7 @@ chp_status_write(struct device *dev, const char *buf, size_t count) | |||
888 | static DEVICE_ATTR(status, 0644, chp_status_show, chp_status_write); | 888 | static DEVICE_ATTR(status, 0644, chp_status_show, chp_status_write); |
889 | 889 | ||
890 | static ssize_t | 890 | static ssize_t |
891 | chp_type_show(struct device *dev, char *buf) | 891 | chp_type_show(struct device *dev, struct device_attribute *attr, char *buf) |
892 | { | 892 | { |
893 | struct channel_path *chp = container_of(dev, struct channel_path, dev); | 893 | struct channel_path *chp = container_of(dev, struct channel_path, dev); |
894 | 894 | ||