mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
dm: serial: Adjust serial_getinfo() to use proper API
All driver-model functions should have a device as the first parameter. Update this function accordingly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
This commit is contained in:
@@ -283,7 +283,7 @@ struct serial_dev_priv {
|
||||
|
||||
int serial_getconfig(struct udevice *dev, uint *config);
|
||||
int serial_setconfig(struct udevice *dev, uint config);
|
||||
int serial_getinfo(struct serial_device_info *info);
|
||||
int serial_getinfo(struct udevice *dev, struct serial_device_info *info);
|
||||
|
||||
void atmel_serial_initialize(void);
|
||||
void mcf_serial_initialize(void);
|
||||
|
||||
Reference in New Issue
Block a user