summaryrefslogtreecommitdiff
path: root/include/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/serial.h')
-rw-r--r--include/serial.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/serial.h b/include/serial.h
index 8b00f38280..ffda48a141 100644
--- a/include/serial.h
+++ b/include/serial.h
@@ -182,16 +182,6 @@ struct dm_serial_ops {
*/
int (*loop)(struct udevice *dev, int on);
#endif
- /**
- * setparity() - Set up the parity
- *
- * Set up a new parity for this device.
- *
- * @dev: Device pointer
- * @parity: parity to use
- * @return 0 if OK, -ve on error
- */
- int (*setparity)(struct udevice *dev, enum serial_par parity);
/**
* setconfig() - Set up the uart configuration