diff options
Diffstat (limited to 'drivers/s390/net/lcs.c')
| -rw-r--r-- | drivers/s390/net/lcs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/s390/net/lcs.c b/drivers/s390/net/lcs.c index cccfed248e70..ab086242d305 100644 --- a/drivers/s390/net/lcs.c +++ b/drivers/s390/net/lcs.c | |||
| @@ -1984,7 +1984,7 @@ lcs_open_device(struct net_device *dev) | |||
| 1984 | * show function for portno called by cat or similar things | 1984 | * show function for portno called by cat or similar things |
| 1985 | */ | 1985 | */ |
| 1986 | static ssize_t | 1986 | static ssize_t |
| 1987 | lcs_portno_show (struct device *dev, char *buf) | 1987 | lcs_portno_show (struct device *dev, struct device_attribute *attr, char *buf) |
| 1988 | { | 1988 | { |
| 1989 | struct lcs_card *card; | 1989 | struct lcs_card *card; |
| 1990 | 1990 | ||
| @@ -2000,7 +2000,7 @@ lcs_portno_show (struct device *dev, char *buf) | |||
| 2000 | * store the value which is piped to file portno | 2000 | * store the value which is piped to file portno |
| 2001 | */ | 2001 | */ |
| 2002 | static ssize_t | 2002 | static ssize_t |
| 2003 | lcs_portno_store (struct device *dev, const char *buf, size_t count) | 2003 | lcs_portno_store (struct device *dev, struct device_attribute *attr, const char *buf, size_t count) |
| 2004 | { | 2004 | { |
| 2005 | struct lcs_card *card; | 2005 | struct lcs_card *card; |
| 2006 | int value; | 2006 | int value; |
| @@ -2021,7 +2021,7 @@ lcs_portno_store (struct device *dev, const char *buf, size_t count) | |||
| 2021 | static DEVICE_ATTR(portno, 0644, lcs_portno_show, lcs_portno_store); | 2021 | static DEVICE_ATTR(portno, 0644, lcs_portno_show, lcs_portno_store); |
| 2022 | 2022 | ||
| 2023 | static ssize_t | 2023 | static ssize_t |
| 2024 | lcs_type_show(struct device *dev, char *buf) | 2024 | lcs_type_show(struct device *dev, struct device_attribute *attr, char *buf) |
| 2025 | { | 2025 | { |
| 2026 | struct ccwgroup_device *cgdev; | 2026 | struct ccwgroup_device *cgdev; |
| 2027 | 2027 | ||
| @@ -2035,7 +2035,7 @@ lcs_type_show(struct device *dev, char *buf) | |||
| 2035 | static DEVICE_ATTR(type, 0444, lcs_type_show, NULL); | 2035 | static DEVICE_ATTR(type, 0444, lcs_type_show, NULL); |
| 2036 | 2036 | ||
| 2037 | static ssize_t | 2037 | static ssize_t |
| 2038 | lcs_timeout_show(struct device *dev, char *buf) | 2038 | lcs_timeout_show(struct device *dev, struct device_attribute *attr, char *buf) |
| 2039 | { | 2039 | { |
| 2040 | struct lcs_card *card; | 2040 | struct lcs_card *card; |
| 2041 | 2041 | ||
| @@ -2045,7 +2045,7 @@ lcs_timeout_show(struct device *dev, char *buf) | |||
| 2045 | } | 2045 | } |
| 2046 | 2046 | ||
| 2047 | static ssize_t | 2047 | static ssize_t |
| 2048 | lcs_timeout_store (struct device *dev, const char *buf, size_t count) | 2048 | lcs_timeout_store (struct device *dev, struct device_attribute *attr, const char *buf, size_t count) |
| 2049 | { | 2049 | { |
| 2050 | struct lcs_card *card; | 2050 | struct lcs_card *card; |
| 2051 | int value; | 2051 | int value; |
