forked from luck/tmp_suning_uos_patched
claw: A claw device is a group of just 2 ccw devices
When creating a claw device, just 2 subchannels have to be grouped. Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com> Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
908abbb577
commit
e48d24a6e3
@ -295,7 +295,7 @@ claw_driver_group_store(struct device_driver *ddrv, const char *buf,
|
|||||||
int err;
|
int err;
|
||||||
err = ccwgroup_create_from_string(claw_root_dev,
|
err = ccwgroup_create_from_string(claw_root_dev,
|
||||||
claw_group_driver.driver_id,
|
claw_group_driver.driver_id,
|
||||||
&claw_ccw_driver, 3, buf);
|
&claw_ccw_driver, 2, buf);
|
||||||
return err ? err : count;
|
return err ? err : count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user