From patchwork Wed May 10 14:40:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laura Abbott X-Patchwork-Id: 9720015 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2A63860236 for ; Wed, 10 May 2017 14:40:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1CCDB28609 for ; Wed, 10 May 2017 14:40:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0C05C2860D; Wed, 10 May 2017 14:40:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=unavailable version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 704C32862C for ; Wed, 10 May 2017 14:40:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 349916E38A; Wed, 10 May 2017 14:40:11 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-qk0-f181.google.com (mail-qk0-f181.google.com [209.85.220.181]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9FE4C89C55 for ; Wed, 10 May 2017 14:40:09 +0000 (UTC) Received: by mail-qk0-f181.google.com with SMTP id a72so31920121qkj.2 for ; Wed, 10 May 2017 07:40:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to; bh=4By7EkIkKP96ud0FHy/upVnSnVfM+auY5MLnZnJOtYE=; b=Vbs/rtD29J9UP/nveFKCHQY7Xy9bbSpCXDwzoNm3LsvjQ+J7YHPhZWd4g/CKT2ue7Y bdf6GqcfBkoV+FtXaTC5HWbfXj5ifeosN6mOdbFpjws6Bcfs0+pjez6Fe40d9GQX0+m0 5KYg8354uyPWX3NCDZlKCeRabmjE181gp7A87qZl3myPE5PGQ+XJOoF/rNfUsKHMWQXM cdWdk8dnTKgqg/XFNsQa/74vf5A4OjD3Fw5j6mPKWmgcUZ+lJkbOpaDJ2Hp6TT1e74z5 XXR4C02J/Iz1nao1XdrCHgym1PW4W06nR7/QjEB+uWkyDtxcizTvIbwpitTM7XpJmHtI yHLw== X-Gm-Message-State: AODbwcAm7S1YMti+gw6PIrt1eddtoiEtlrM3e6yTVZdLaImztJsMU717 iMqH+MdVEhO7Si2Q X-Received: by 10.55.143.198 with SMTP id r189mr5416134qkd.150.1494427208671; Wed, 10 May 2017 07:40:08 -0700 (PDT) Received: from labbott-redhat-machine.redhat.com ([2601:602:9802:a8dc::7f81]) by smtp.gmail.com with ESMTPSA id x27sm2273470qtb.54.2017.05.10.07.40.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 May 2017 07:40:07 -0700 (PDT) From: Laura Abbott To: Daniel Vetter , Chris Wilson Date: Wed, 10 May 2017 07:40:01 -0700 Message-Id: <1494427201-14365-1-git-send-email-labbott@redhat.com> X-Mailer: git-send-email 2.7.4 In-reply-to: Message-ID: <20170510081508.ornstbloztolsvf7@phenom.ffwll.local> Cc: intel-gfx@lists.freedesktop.org, Laura Abbott , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [Intel-gfx] [PATCH] drm/prime: include device.h X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Explictly add linux/device.h to ensure struct device is defined: In file included from include/drm/drm_file.h:38:0, from drivers/gpu/drm/drm_file.c:38: include/drm/drm_prime.h:71:14: warning: 'struct device' declared inside parameter list will not be visible outside of this definition or declaration struct device *attach_dev); ^~~~~~ Signed-off-by: Laura Abbott --- Sorry, missed sending this out --- include/drm/drm_prime.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/drm/drm_prime.h b/include/drm/drm_prime.h index 46fd1fb..8ef37c8 100644 --- a/include/drm/drm_prime.h +++ b/include/drm/drm_prime.h @@ -35,6 +35,7 @@ #include #include #include +#include /** * struct drm_prime_file_private - per-file tracking for PRIME