ljalves / linux_media

TBS linux open source drivers
https://github.com/ljalves/linux_media/wiki
Other
88 stars 151 forks source link

Kernel 4.5 #125

Closed BBUK closed 8 years ago

BBUK commented 8 years ago

Hi all.

This does not build on kernel 4.5. I made the following edit to line 734 of ../media/drivers/media/dvb-frontends/cxd2820r_core.c and changed priv->gpio_chip.dev = &priv->i2c->dev; to priv->gpio_chip.parent = &priv->i2c->dev; (note that you are editing a file in the "media" directory not the "media_build" directory) This change will break compatibility with kernels earlier than 4.5 so don't apply it unless you have a specific issue with 4.5. Note that I don't really know what I am doing here. The change works on my setup but please report back if this also works for you.

BBUK

JohnnySSH commented 8 years ago

Hi looks like this works for me fine..... yet to test, but does build and install on Arch Linux updated as of today ;-)

ljalves commented 8 years ago

Updated to latest media_tree. Should compile fine at least up to kernel 4.7