From patchwork Tue Jan 16 07:18:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ritesh Kumar X-Patchwork-Id: 188434 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:42cf:b0:101:a8e8:374 with SMTP id q15csp96404dye; Mon, 15 Jan 2024 23:19:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IFFgJskwAejvQ269f85vezD48LdollyB6XRYyi4kEt1jRZdmECad+rJFzEyb5TNQnhAK3UX X-Received: by 2002:a05:620a:4110:b0:783:6ca4:9e09 with SMTP id j16-20020a05620a411000b007836ca49e09mr237074qko.143.1705389552289; Mon, 15 Jan 2024 23:19:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705389552; cv=none; d=google.com; s=arc-20160816; b=F0AR/Zal5Izrzy1Gj9KVjP/MSy8Ck3De7fbG82Fxnlsv0JWJcFKHdSRPvJlvEzRBAK v0vZo0OejNC+Qsw6Tz1JeZ6C3HVd1/2xywpr0XfUmFSigb+jH0KmqqdQdjOrT25wF3te uuk3jkyeiXXGTldc4zKEmQlIJYyPlvI/xeZHbmUWHYn5HI6IhhSHm0gLjn6U0S+lmybK yNAfltxTXcj7zojBBs1O3xpLgdJKHBlBGolZrEwXCQOIcsazggMH4WtjGzNpg7hRazSH QiMW/kMBtEl09ix9+I5vt8qo6osbDmqHzmykbP+1xtaAMlyheN0BZn/vWL141ILdGeL0 ua4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from:dkim-signature; bh=DX0iy88vX98iAdSdT71f27IKRMC90HatYQ5HwImfRkg=; fh=eNz3zbPilnzbV2pZDeje8SL/udxYgEo6bNh/PoHSZ9c=; b=Oswc2I6sAwm/SP3EUycEwNFOun67P3FbZw0a/U5vFIJlBFBtogehyia3Na8jNfBp8x ISQlQD+fGt64i2R5YXnrCyUg7PTU4Is+VrHo9tnQJ0Tc79Et5vrg/0BgR3Ynj1GLbEiJ KTu0Xr8/QPNh44ihhW7v81mVq93PRd62ydZ5c0wr9Wdwi4SHGgakZa91fOG03PmdYjTS Cn929rmm2j+15uA6KY3z2fO/RWPOt+peAgpoCkNgD2ZZ9Y869fXlGmmLta9VUxVMM0Pw 0ihwedSS86yto29ne0W7GZ6WETJjrahs99K4f6+kp+zSDLj4P71hl6SNAPBeaUnpb0Ot D65A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=cwLfs2F7; spf=pass (google.com: domain of linux-kernel+bounces-27060-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27060-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id w20-20020a05620a0e9400b0078328b2f7b3si9724075qkm.23.2024.01.15.23.19.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 23:19:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27060-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=cwLfs2F7; spf=pass (google.com: domain of linux-kernel+bounces-27060-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27060-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 19B771C2303F for ; Tue, 16 Jan 2024 07:19:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3A9F011187; Tue, 16 Jan 2024 07:19:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="cwLfs2F7" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1ABF910A1E for ; Tue, 16 Jan 2024 07:18:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qualcomm.com Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40G5Nsi3002596; Tue, 16 Jan 2024 07:18:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id; s=qcppdkim1; bh=DX0iy88vX98i AdSdT71f27IKRMC90HatYQ5HwImfRkg=; b=cwLfs2F7F4ylLd6Pnze4qC8nGPlx 7bI7W+Q6L2XEz/hQu265xrvBVV4PH7fMZ6CbbPh7lFMw+4OfRAPD6qtfjEDImMnC sV4cVWaOs0mPpuLaltmSuAwYe0W0SmjkLYWNxkEYAvp1FE0CrLCvRzRXP3FclJgC gNU++0Gw0fRX1H50ouCR24rJjFJVPs3es/UWwGkaR7+BtPlo8szchZAENFqoNgKt 0heTo1rcJWlwQZjdN1l5KYhY/SZZDkARa29m2muJ8LRclDD3UOnYq+JuWM7cLApr da+Rln4HcgJpdi358Vi+gpRvdCiTB8jFjVrZZc8T0YwOMRG0PiXKahWB+A== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vnht90ck5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Jan 2024 07:18:24 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 40G7EQqQ019314; Tue, 16 Jan 2024 07:18:20 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 3vkkkkm222-1; Tue, 16 Jan 2024 07:18:20 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 40G7IKnO024252; Tue, 16 Jan 2024 07:18:20 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-riteshk-hyd.qualcomm.com [10.147.241.247]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 40G7IKgI024251; Tue, 16 Jan 2024 07:18:20 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2314801) id 776E0601955; Tue, 16 Jan 2024 12:48:19 +0530 (+0530) From: Ritesh Kumar To: neil.armstrong@linaro.org, quic_jesszhan@quicinc.com, sam@ravnborg.org, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, quic_abhinavk@quicinc.com, quic_rajeevny@quicinc.com, quic_vproddut@quicinc.com Cc: Ritesh Kumar , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/panel: novatek-nt36672e: Include Date: Tue, 16 Jan 2024 12:48:03 +0530 Message-Id: <20240116071803.5264-1-quic_riteshk@quicinc.com> X-Mailer: git-send-email 2.17.1 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 9LspsGzdeywBkRaxqILt1OLL_DDjq1qm X-Proofpoint-GUID: 9LspsGzdeywBkRaxqILt1OLL_DDjq1qm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 suspectscore=0 spamscore=0 mlxlogscore=999 priorityscore=1501 lowpriorityscore=0 bulkscore=0 mlxscore=0 phishscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401160055 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788230555278723525 X-GMAIL-MSGID: 1788230555278723525 Include instead of to fix below compilation errors: drivers/gpu/drm/panel/panel-novatek-nt36672e.c:564:14: error: implicit declaration of function 'of_device_get_match_data' ctx->desc = of_device_get_match_data(dev); ^ drivers/gpu/drm/panel/panel-novatek-nt36672e.c:622:34: error: array type has incomplete element type 'struct of_device_id' static const struct of_device_id nt36672e_of_match[] = { ^ Signed-off-by: Ritesh Kumar Reviewed-by: Neil Armstrong --- In the patch https://lore.kernel.org/all/20231129164316.2663565-1-robh@kernel.org/, include of from of_device.h was removed. This change was not present in my local build resulting in successful compilation while posting https://lore.kernel.org/all/20240108095902.22725-3-quic_riteshk@quicinc.com/. --- drivers/gpu/drm/panel/panel-novatek-nt36672e.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-novatek-nt36672e.c b/drivers/gpu/drm/panel/panel-novatek-nt36672e.c index d4e85c2fc899..cb7406d74466 100644 --- a/drivers/gpu/drm/panel/panel-novatek-nt36672e.c +++ b/drivers/gpu/drm/panel/panel-novatek-nt36672e.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include #include #include