mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jan III Sobieski <jan3sobi3ski@gmail.com>
To: linux-kernel@vger.kernel.org, Greg Kroah-Hartman <gregkh@suse.de>
Subject: Re: [PATCH] build error drivers/staging/dt3155/dt3155_drv.c
Date: Wed, 7 Apr 2010 06:05:18 +0200	[thread overview]
Message-ID: <x2t9c2470ce1004062105g83a050d0gc2269e4a8af7ae05@mail.gmail.com> (raw)
In-Reply-To: <p2r9c2470ce1004062104ra6b9c662uf303fb1b9e82cd6@mail.gmail.com>

W dniu 7 kwietnia 2010 06:04 użytkownik Jan III Sobieski
<jan3sobi3ski@gmail.com> napisał:
> Hi,
>
>  CC      drivers/staging/dt3155/dt3155_drv.o
> drivers/staging/dt3155/dt3155_drv.c: In function 'init_module':
> drivers/staging/dt3155/dt3155_drv.c:1047: error: implicit declaration
> of function 'request_irq'
> drivers/staging/dt3155/dt3155_drv.c:1048: error: 'IRQF_SHARED'
> undeclared (first use in this function)
> drivers/staging/dt3155/dt3155_drv.c:1048: error: (Each undeclared
> identifier is reported only once
> drivers/staging/dt3155/dt3155_drv.c:1048: error: for each function it
> appears in.)
> drivers/staging/dt3155/dt3155_drv.c:1048: error: 'IRQF_DISABLED'
> undeclared (first use in this function)
> drivers/staging/dt3155/dt3155_drv.c: In function 'cleanup_module':
> drivers/staging/dt3155/dt3155_drv.c:1091: error: implicit declaration
> of function 'free_irq'
> make[3]: *** [drivers/staging/dt3155/dt3155_drv.o] Błąd 1
> make[2]: *** [drivers/staging/dt3155] Błąd 2
> make[1]: *** [drivers/staging] Błąd 2
> make: *** [drivers] Błąd 2

BTW. Kernel 2.6.34-rc3-git6

>
>
> --
> Jan III Sobieski
>
> Signed-off-by: Jan III Sobieski <jan3sobi3ski@gmail.com>
>
> --- linux-2.6-git/drivers/staging/dt3155/dt3155_drv.c   2010-03-27
> 22:34:58.000000000 +0100
> +++ linux-2.6/drivers/staging/dt3155/dt3155_drv.c       2010-04-07
> 05:54:07.000000000 +0200
> @@ -74,6 +74,7 @@ MODULE_LICENSE("GPL");
>  #include <linux/types.h>
>  #include <linux/poll.h>
>  #include <linux/sched.h>
> +#include <linux/interrupt.h>
>
>  #include <asm/io.h>
>  #include <asm/uaccess.h>
>



-- 
Jan III Sobieski

  reply	other threads:[~2010-04-07  4:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-07  4:04 Jan III Sobieski
2010-04-07  4:05 ` Jan III Sobieski [this message]
2010-04-13 22:20   ` Jan III Sobieski
2010-04-13 22:25     ` Randy Dunlap

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=x2t9c2470ce1004062105g83a050d0gc2269e4a8af7ae05@mail.gmail.com \
    --to=jan3sobi3ski@gmail.com \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®