[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141003.155249.1949814662829849172.davem@davemloft.net>
Date: Fri, 03 Oct 2014 15:52:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gang.chen.5i5j@...il.com
Cc: samuel@...tiz.org, richard@....at, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers/net/irda/Kconfig: Let SH_IRDA depend on
HAS_IOMEM
From: Chen Gang <gang.chen.5i5j@...il.com>
Date: Thu, 02 Oct 2014 22:32:56 +0800
> SH_IRDA needs HAS_IOMEM, so depend on it. The related error(with
> allmodconfig under um):
>
> CC [M] drivers/net/irda/sh_irda.o
> drivers/net/irda/sh_irda.c: In function ‘sh_irda_probe’:
> drivers/net/irda/sh_irda.c:776:2: error: implicit declaration of function ‘ioremap_nocache’ [-Werror=implicit-function-declaration]
> self->membase = ioremap_nocache(res->start, resource_size(res));
> ^
> drivers/net/irda/sh_irda.c:776:16: warning: assignment makes pointer from integer without a cast [enabled by default]
> self->membase = ioremap_nocache(res->start, resource_size(res));
> ^
> drivers/net/irda/sh_irda.c:821:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration]
> iounmap(self->membase);
> ^
>
> Signed-off-by: Chen Gang <gang.chen.5i5j@...il.com>
Applied.
Powered by blists - more mailing lists