[lkml]   [2011]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] fix build error of function iio_event_getfd
    Thanks but this is 7th fix I have seen.

    Hui Zhu <> wrote:

    >Got a build error:
    > CC [M] drivers/staging/iio/industrialio-core.o
    >In function ‘iio_event_getfd’:
    >error: ‘ev_int’ undeclared (first use in this function)
    >note: each undeclared identifier is reported only once for each
    >function it appears in
    >Not sure it is fixed or not.
    >Post a patch for it.
    >Signed-off-by: Hui Zhu <>
    > drivers/staging/iio/industrialio-core.c | 1 +
    > 1 file changed, 1 insertion(+)
    >--- a/drivers/staging/iio/industrialio-core.c
    >+++ b/drivers/staging/iio/industrialio-core.c
    >@@ -243,6 +243,7 @@ static const struct file_operations iio_
    > static int iio_event_getfd(struct iio_dev *indio_dev)
    > {
    > int fd;
    >+ struct iio_event_interface *ev_int = indio_dev->event_interface;
    > if (indio_dev->event_interface == NULL)
    > return -ENODEV;

    Sent from my Android phone
    with K-9 Mail. Please excuse my brevity.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2011-11-26 10:25    [W:0.033 / U:2.632 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site