From mboxrd@z Thu Jan 1 00:00:00 1970 From: kuninori.morimoto.gx@gmail.com Subject: [PATCH 2/3 v2] net/irda: sh_sir: add missing header Date: Thu, 11 Aug 2011 02:26:09 -0700 (PDT) Message-ID: <874o1owb82.wl%kuninori.morimoto.gx@renesas.com> References: <87aabgwl9y.wl%kuninori.morimoto.gx@renesas.com> <20110810.231558.2202030270747790994.davem@davemloft.net> <877h6kwbiq.wl%kuninori.morimoto.gx@renesas.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: Kuninori Morimoto , netdev@vger.kernel.org To: David Miller Return-path: Received: from mail-iy0-f170.google.com ([209.85.210.170]:36064 "EHLO mail-iy0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753875Ab1HKJ0K (ORCPT ); Thu, 11 Aug 2011 05:26:10 -0400 Received: by mail-iy0-f170.google.com with SMTP id 16so946063iye.1 for ; Thu, 11 Aug 2011 02:26:10 -0700 (PDT) In-Reply-To: <877h6kwbiq.wl%kuninori.morimoto.gx@renesas.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Kuninori Morimoto This patch fixup below build error on sh_sir sh_sir.c: In function 'sh_sir_write': sh_sir.c:127:2: error: implicit declaration of function 'iowrite16' sh_sir.c: In function 'sh_sir_read': sh_sir.c:132:2: error: implicit declaration of function 'ioread16' sh_sir.c: At top level: sh_sir.c:561:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sh_sir_irq' sh_sir.c: In function 'sh_sir_probe': sh_sir.c:727:2: error: implicit declaration of function 'ioremap_nocache' sh_sir.c:727:16: warning: assignment makes pointer from integer without a cast sh_sir.c:762:2: error: implicit declaration of function 'request_irq' sh_sir.c:762:23: error: 'sh_sir_irq' undeclared (first use in this function) sh_sir.c:762:23: note: each undeclared identifier is reported only once for each function it appears in sh_sir.c:762:35: error: 'IRQF_DISABLED' undeclared (first use in this function) sh_sir.c:776:2: error: implicit declaration of function 'iounmap' sh_sir.c: At top level: sh_sir.c:436:13: warning: 'sh_sir_clear_all_err' defined but not used sh_sir.c:474:12: warning: 'sh_sir_is_which_phase' defined but not used sh_sir.c:490:13: warning: 'sh_sir_tx' defined but not used sh_sir.c:540:13: warning: 'sh_sir_rx' defined but not used Signed-off-by: Kuninori Morimoto --- v1 -> v2 - just add missing header - change email subject drivers/net/irda/sh_sir.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/irda/sh_sir.c b/drivers/net/irda/sh_sir.c index 52a7c86..10b13ea 100644 --- a/drivers/net/irda/sh_sir.c +++ b/drivers/net/irda/sh_sir.c @@ -12,6 +12,8 @@ * published by the Free Software Foundation. */ +#include +#include #include #include #include -- 1.7.4.1