From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: [PATCH -next] staging: dgrp: Add missing #include Date: Thu, 27 Sep 2012 20:38:26 +0200 Message-ID: <1348771106-14105-1-git-send-email-geert@linux-m68k.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from gerard.telenet-ops.be ([195.130.132.48]:37694 "EHLO gerard.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752220Ab2I0Sia (ORCPT ); Thu, 27 Sep 2012 14:38:30 -0400 Sender: linux-next-owner@vger.kernel.org List-ID: To: Bill Pemberton , Greg Kroah-Hartman Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org, Geert Uytterhoeven On m68k: drivers/staging/dgrp/dgrp_mon_ops.c: In function =E2=80=98dgrp_mon_read= =E2=80=99: drivers/staging/dgrp/dgrp_mon_ops.c:304: error: implicit declaration of= function =E2=80=98copy_to_user=E2=80=99 drivers/staging/dgrp/dgrp_specproc.c: In function =E2=80=98config_proc_= write=E2=80=99: drivers/staging/dgrp/dgrp_specproc.c:470: error: implicit declaration o= f function =E2=80=98copy_from_user=E2=80=99 drivers/staging/dgrp/dgrp_tty.c: In function =E2=80=98drp_wmove=E2=80=99= : drivers/staging/dgrp/dgrp_tty.c:1284: error: implicit declaration of fu= nction =E2=80=98copy_from_user=E2=80=99 drivers/staging/dgrp/dgrp_tty.c: In function =E2=80=98get_modem_info=E2= =80=99: drivers/staging/dgrp/dgrp_tty.c:2267: error: implicit declaration of fu= nction =E2=80=98put_user=E2=80=99 drivers/staging/dgrp/dgrp_tty.c: In function =E2=80=98set_modem_info=E2= =80=99: drivers/staging/dgrp/dgrp_tty.c:2283: error: implicit declaration of fu= nction =E2=80=98access_ok=E2=80=99 drivers/staging/dgrp/dgrp_tty.c:2283: error: =E2=80=98VERIFY_READ=E2=80= =99 undeclared (first use in this function) drivers/staging/dgrp/dgrp_tty.c:2283: error: (Each undeclared identifie= r is reported only once drivers/staging/dgrp/dgrp_tty.c:2283: error: for each function it appea= rs in.) drivers/staging/dgrp/dgrp_tty.c:2287: error: implicit declaration of fu= nction =E2=80=98get_user=E2=80=99 drivers/staging/dgrp/dgrp_tty.c: In function =E2=80=98dgrp_tty_digigete= delay=E2=80=99: drivers/staging/dgrp/dgrp_tty.c:2474: error: implicit declaration of fu= nction =E2=80=98copy_to_user=E2=80=99 drivers/staging/dgrp/dgrp_tty.c: In function =E2=80=98dgrp_tty_ioctl=E2= =80=99: drivers/staging/dgrp/dgrp_tty.c:2618: error: =E2=80=98VERIFY_WRITE=E2=80= =99 undeclared (first use in this function) Signed-off-by: Geert Uytterhoeven --- See also http://kisskb.ellerman.id.au/kisskb/buildresult/7277002/ drivers/staging/dgrp/dgrp_mon_ops.c | 1 + drivers/staging/dgrp/dgrp_specproc.c | 1 + drivers/staging/dgrp/dgrp_tty.c | 1 + 3 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/staging/dgrp/dgrp_mon_ops.c b/drivers/staging/dgrp= /dgrp_mon_ops.c index 268dcb9..4792d05 100644 --- a/drivers/staging/dgrp/dgrp_mon_ops.c +++ b/drivers/staging/dgrp/dgrp_mon_ops.c @@ -38,6 +38,7 @@ #include #include #include +#include =20 #include "dgrp_common.h" =20 diff --git a/drivers/staging/dgrp/dgrp_specproc.c b/drivers/staging/dgr= p/dgrp_specproc.c index 28f5c9a..a5840e7 100644 --- a/drivers/staging/dgrp/dgrp_specproc.c +++ b/drivers/staging/dgrp/dgrp_specproc.c @@ -39,6 +39,7 @@ #include #include #include +#include #include =20 #include "dgrp_common.h" diff --git a/drivers/staging/dgrp/dgrp_tty.c b/drivers/staging/dgrp/dgr= p_tty.c index 7d7de87..72f6fcf 100644 --- a/drivers/staging/dgrp/dgrp_tty.c +++ b/drivers/staging/dgrp/dgrp_tty.c @@ -40,6 +40,7 @@ #include #include #include +#include =20 #include "dgrp_common.h" =20 --=20 1.7.0.4