
20 Nov
2018
20 Nov
'18
6:39 p.m.
On Thu, Nov 15, 2018 at 12:22:31PM -0800, Simon Glass wrote:
On 15 November 2018 at 11:51, Andy Shevchenko andy.shevchenko@gmail.com wrote:
On Thu, Nov 15, 2018 at 9:46 PM Simon Glass sjg@chromium.org wrote:
On 15 November 2018 at 09:58, Andy Shevchenko andriy.shevchenko@linux.intel.com wrote:
+int serial_getinfo(struct serial_device_info *info)
This should use driver model, so:
int serial_getinfo(struct udevice *dev, struct serial_device_info *info)
Oh, sure!
I have to withdraw this comment based on two points: - the rest of API is using it in this way - it is all about current console IIUC, so, anyway we would need the same code to retrieve it
Are you still thinking that serial_getinfo(dev, info) would be preferable?
--
With Best Regards,
Andy Shevchenko