/* Return devmap for cdev. If no devmap exists yet, create one and connect it to the cdev.  */
static struct dasd_devmap* dasd_devmap_from_cdev(struct ccw_device *cdev)
/* Return devmap for cdev. If no devmap exists yet, create one and connect it to the cdev.  */
static struct dasd_devmap* dasd_devmap_from_cdev(struct ccw_device *cdev)
{
	struct dasd_devmap *devmap;
	devmap = dasd_find_busid(dev_name(&cdev->dev));
	if (IS_ERR(devmap))
		devmap = dasd_add_busid(dev_name(&cdev->dev),
					DASD_FEATURE_DEFAULT);
	return devmap;
}