Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another ABI change for newer kernels. iio_kfifo_allocate() #4

Open
cheako opened this issue Aug 11, 2015 · 0 comments
Open

Another ABI change for newer kernels. iio_kfifo_allocate() #4

cheako opened this issue Aug 11, 2015 · 0 comments

Comments

@cheako
Copy link

cheako commented Aug 11, 2015

Index: linux-4.1.3/drivers/iio/imu/inv_mpu/inv_mpu_ring.c
===================================================================
--- linux-4.1.3.orig/drivers/iio/imu/inv_mpu/inv_mpu_ring.c
+++ linux-4.1.3/drivers/iio/imu/inv_mpu/inv_mpu_ring.c
@@ -1692,7 +1692,7 @@ int inv_mpu_configure_ring(struct iio_de
    struct inv_mpu_state *st = iio_priv(indio_dev);
    struct iio_buffer *ring;

-   ring = iio_kfifo_allocate(indio_dev);
+   ring = iio_kfifo_allocate();
    if (!ring)
        return -ENOMEM;
    indio_dev->buffer = ring;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant