Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4706849ybv; Tue, 11 Feb 2020 01:45:42 -0800 (PST) X-Google-Smtp-Source: APXvYqzrkVjKiCwZlRtoxHE4rY5wSW9oH92n44/ZL+mx6zFRTruiFQ3Cp+dw0ajhOhPqFbrhcrH0 X-Received: by 2002:aca:ad11:: with SMTP id w17mr2355373oie.85.1581414342571; Tue, 11 Feb 2020 01:45:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581414342; cv=none; d=google.com; s=arc-20160816; b=zs6hov2sJCyJEKFIIwgUpVVGl49JJoJ408Rb+jy/vi1bYe1ZJTkjphKjNlCp/dl0CG nmzolo3PlkZ5XomUYsSJZszekFovXhSas5DXVFDuPisXOO3FeXlG/kLyasdlkwCO1oJe 2ceu35Hs+ewiiqvaPcBOFcK9dKk1elkaR+C2N4/Kcy4Y1BDMEBRQy1j15eRJSwzoTIbg CLV2wlDCTO5iXJtqHPyd70dX+C/13U3SL3HbP4tDXR+sismOCE77kNHnt4YB5DUZ65NT fI9FU5jGREHs/UIB9+YZq9QL9nOzZxv4iaaoHH1XPVoXRfNMyh6N/4t+ni+UzR1ZhPPc 4bBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject; bh=yU+n3xeHZPjpEgKUmCu20/hFPhd0AKVxLHXiO61NQh4=; b=OIruM6k5rtgTu7i+Nq2LAL1UMdS3h0NkjmtOh0GRL3SVizdREfiJxg5myCBvTG24ep ByBEHsZf1/LBMbVXYHqUXGt0jq+zwQeJTxraHw5EpwK4teyFQTo3cvDpmnoLNxLaGEy/ 8mSkF55/iY2eiAUuVn0Q8owiHzu2gy6G5uizAwwI3bL0Z76bnFtIG90IC6xCbG/A6iHa rbHJ02gW/ls3lxlUe4mwClTD4Pj4vHZaLWzSfwsIk+rgGGlqPEv0dAilXYhb+gmLJkOW 3csqK09p6hmGHTjpv7GgN2+qEuR3OlkP4muJoy9U7w/6wcc9cYOm1EyP+mOfs/N/zIJa pQAg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j2si1673382otr.255.2020.02.11.01.45.29; Tue, 11 Feb 2020 01:45:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727939AbgBKJoQ (ORCPT + 99 others); Tue, 11 Feb 2020 04:44:16 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:33028 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727873AbgBKJoQ (ORCPT ); Tue, 11 Feb 2020 04:44:16 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 8C579293EE0 Subject: Re: [PATCH v2] platform/chrome: wilco_ec: Platform data shan't include kernel.h To: Andy Shevchenko , Nick Crews , linux-kernel@vger.kernel.org, Daniel Campello References: <20200205094828.77940-1-andriy.shevchenko@linux.intel.com> From: Enric Balletbo i Serra Message-ID: Date: Tue, 11 Feb 2020 10:44:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: <20200205094828.77940-1-andriy.shevchenko@linux.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/2/20 10:48, Andy Shevchenko wrote: > Replace with appropriate types.h. > > Also there is no need to include device.h, but mutex.h. > For the pointers to unknown structures use forward declarations. > > In the *.c files we need to include all headers that provide APIs > being used in the module. > > Signed-off-by: Andy Shevchenko > --- Queued for 5.7, thanks.