Guest User

dvb-usb-rtl2832u-openpli patch for 4.6 kernel

a guest
Jun 21st, 2016
145
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- a/rtl2832u_fe.c 2016-06-20 18:13:06.321323358 +0200
  2. +++ b/rtl2832u_fe.c 2016-06-20 18:14:42.534657956 +0200
  3. @@ -2116,9 +2116,16 @@
  4.  
  5. }
  6.  
  7. +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 6, 0)
  8. static int
  9. rtl2832_get_parameters(
  10. struct dvb_frontend* fe)
  11. +#else
  12. +rtl2832_get_parameters(
  13. + struct dvb_frontend* fe,
  14. + struct dtv_frontend_properties *props)
  15. +#endif
  16. +
  17. {
  18. struct dtv_frontend_properties *param = &fe->dtv_property_cache;
  19. struct rtl2832_state* p_state = fe->demodulator_priv;
RAW Paste Data