On Wed, Jan 29, 2014 at 02:26:45PM +0400, Alexander Shiyan wrote: > Среда, 29 января 2014, 10:30 +01:00 от Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>: > > + sram->cdev.size = (unsigned long)resource_size(res); > > + sram->cdev.ops = &memops; > > + sram->cdev.dev = dev; > > + > > + ret = devfs_create(&sram->cdev); > > + if (ret) > > + return ret; > > + > > + return 0; > > +} > > Probably we should include clock handling in this driver to make it > compatible with kernel version of this driver. Can we delay this until someone actually needs it? Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox