devices/ccat/update.c
branchstable-1.5
changeset 2638 5995331a55fe
parent 2636 0613017547fe
equal deleted inserted replaced
2637:1d9be5716dee 2638:5995331a55fe
   341 		return -ENODEV;
   341 		return -ENODEV;
   342 	}
   342 	}
   343 	return ccat_cdev_probe(func, &cdev_class, CCAT_FLASH_SIZE);
   343 	return ccat_cdev_probe(func, &cdev_class, CCAT_FLASH_SIZE);
   344 }
   344 }
   345 
   345 
   346 struct ccat_driver update_driver = {
   346 const struct ccat_driver update_driver = {
   347 	.type = CCATINFO_EPCS_PROM,
   347 	.type = CCATINFO_EPCS_PROM,
   348 	.probe = ccat_update_probe,
   348 	.probe = ccat_update_probe,
   349 	.remove = ccat_cdev_remove,
   349 	.remove = ccat_cdev_remove,
   350 	.cdev_class = &cdev_class,
   350 	.cdev_class = &cdev_class,
   351 };
   351 };