.. | .. |
---|
239 | 239 | if (!tty->ops->tiocmget) |
---|
240 | 240 | return -ENOTSUPP; |
---|
241 | 241 | |
---|
242 | | - return tty->driver->ops->tiocmget(tty); |
---|
| 242 | + return tty->ops->tiocmget(tty); |
---|
243 | 243 | } |
---|
244 | 244 | |
---|
245 | 245 | static int ttyport_set_tiocm(struct serdev_controller *ctrl, unsigned int set, unsigned int clear) |
---|
.. | .. |
---|
250 | 250 | if (!tty->ops->tiocmset) |
---|
251 | 251 | return -ENOTSUPP; |
---|
252 | 252 | |
---|
253 | | - return tty->driver->ops->tiocmset(tty, set, clear); |
---|
| 253 | + return tty->ops->tiocmset(tty, set, clear); |
---|
254 | 254 | } |
---|
255 | 255 | |
---|
256 | 256 | static const struct serdev_controller_ops ctrl_ops = { |
---|