tty_register_device was replaced by tty_port_register_device in this commit: commit 734cc1783816ae358cef45673a29bf7af974e147 Author: Jiri Slaby <jslaby@xxxxxxx> Date: Tue Aug 7 21:47:47 2012 +0200 TTY: use tty_port_register_device Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- include/linux/compat-3.7.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/compat-3.7.h b/include/linux/compat-3.7.h index 9271c2e..22a7f9f 100644 --- a/include/linux/compat-3.7.h +++ b/include/linux/compat-3.7.h @@ -15,6 +15,9 @@ bool mod_delayed_work(struct workqueue_struct *wq, struct delayed_work *dwork, #define tty_lock(__tty) tty_lock() #define tty_unlock(__tty) tty_unlock() +#define tty_port_register_device(port, driver, index, device) \ + tty_register_device(driver, index, device) + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0)) */ #endif /* LINUX_3_7_COMPAT_H */ -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html