Linux IIO development
 help / color / mirror / Atom feed
From: Dan Carpenter <dan.carpenter@oracle.com>
To: jic23@cam.ac.uk
Cc: linux-iio@vger.kernel.org
Subject: linux-next: build error from iio_simple_dummy_buffer.c
Date: Fri, 28 Oct 2011 14:29:10 +0300	[thread overview]
Message-ID: <20111028112910.GB14881@longonot.mountain> (raw)

I get a compile error in linux-next:

  CC [M]  drivers/staging/iio/iio_simple_dummy_buffer.o
  drivers/staging/iio/iio_simple_dummy_buffer.c: In function =E2=80=98iio=
_simple_dummy_configure_buffer=E2=80=99:
  drivers/staging/iio/iio_simple_dummy_buffer.c:154:18: error: =E2=80=98T=
HIS_MODULE=E2=80=99 undeclared (first use in this function)
  drivers/staging/iio/iio_simple_dummy_buffer.c:154:18: note: each undecl=
ared identifier is reported only once for each function it appears in
  make[1]: *** [drivers/staging/iio/iio_simple_dummy_buffer.o] Error 1
  make: *** [drivers/staging/iio/iio_simple_dummy_buffer.o] Error 2

We could just include <linux/module.h> I guess?

regards,
dan carpenter

             reply	other threads:[~2011-10-28 11:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-28 11:29 Dan Carpenter [this message]
2011-10-31 11:24 ` linux-next: build error from iio_simple_dummy_buffer.c Jonathan Cameron
2011-10-31 11:38   ` Dan Carpenter
2011-11-07 15:10     ` Jonathan Cameron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111028112910.GB14881@longonot.mountain \
    --to=dan.carpenter@oracle.com \
    --cc=jic23@cam.ac.uk \
    --cc=linux-iio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox