equal
deleted
inserted
replaced
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 }; |