020-disable_tty_set_termios.patch 419 B

12345678910111213141516
  1. --- a/compat/compat-2.6.39.c
  2. +++ b/compat/compat-2.6.39.c
  3. @@ -13,6 +13,7 @@
  4. #include <linux/sched.h>
  5. #include <linux/module.h>
  6. +#ifdef CONFIG_COMPAT_BLUETOOTH
  7. #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27))
  8. /*
  9. * Termios Helper Methods
  10. @@ -112,4 +113,4 @@ int tty_set_termios(struct tty_struct *t
  11. }
  12. EXPORT_SYMBOL_GPL(tty_set_termios);
  13. #endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)) */
  14. -
  15. +#endif