aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/lcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/net/lcs.c')
-rw-r--r--drivers/s390/net/lcs.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/s390/net/lcs.c b/drivers/s390/net/lcs.c
index 0abba9364214..f1dfc8d72d7a 100644
--- a/drivers/s390/net/lcs.c
+++ b/drivers/s390/net/lcs.c
@@ -2412,8 +2412,6 @@ static struct ccwgroup_driver lcs_group_driver = {
2412 .owner = THIS_MODULE, 2412 .owner = THIS_MODULE,
2413 .name = "lcs", 2413 .name = "lcs",
2414 }, 2414 },
2415 .max_slaves = 2,
2416 .driver_id = 0xD3C3E2,
2417 .setup = lcs_probe_device, 2415 .setup = lcs_probe_device,
2418 .remove = lcs_remove_device, 2416 .remove = lcs_remove_device,
2419 .set_online = lcs_new_device, 2417 .set_online = lcs_new_device,
@@ -2429,8 +2427,7 @@ static ssize_t lcs_driver_group_store(struct device_driver *ddrv,
2429 const char *buf, size_t count) 2427 const char *buf, size_t count)
2430{ 2428{
2431 int err; 2429 int err;
2432 err = ccwgroup_create_dev(lcs_root_dev, lcs_group_driver.driver_id, 2430 err = ccwgroup_create_dev(lcs_root_dev, &lcs_group_driver, 2, buf);
2433 &lcs_group_driver, 2, buf);
2434 return err ? err : count; 2431 return err ? err : count;
2435} 2432}
2436static DRIVER_ATTR(group, 0200, NULL, lcs_driver_group_store); 2433static DRIVER_ATTR(group, 0200, NULL, lcs_driver_group_store);