From patchwork Mon Jan 14 21:17:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ren=C3=A9_van_Dorst?= X-Patchwork-Id: 10763447 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 214DD13BF for ; Mon, 14 Jan 2019 21:17:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 145052AF30 for ; Mon, 14 Jan 2019 21:17:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 123132AF87; Mon, 14 Jan 2019 21:17:51 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 417952AF49 for ; Mon, 14 Jan 2019 21:17:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HJOLwlVoZCa7qCUGtO92o4IUVSn2S2mECnupyVQw0h0=; b=iGrEWAWccSLHOm PzbED1m+8nXXpQZsgeXHh5SpsHeszDjjjBMnCNA+v86Gc52UbnhDGZ5Lcp00/3vH0T2AqmRg7mqUA wcM0nW0XhLSm1BjTpLqCNH48EF9Sjy/yL1ZL7sgR3l0IbdgIVRmFwdvbi6CF1Xi8/UlkkSyCgekfw G4Z8njtM/vJW2yXya90bfdtH8oTbuypHjdDgi6nHkXj8R+hyfRuMJFO+QLTYat/lGKXU8OWhbIbt2 upX3YGQXylkvzXhat9UYCBC5M/ggZALYVKDCtciQCsYMv68iZ2pUvVD4plpqCU5+ff/iGHZfMO3Tt +M8MBo7Oh0sWQAiN1/Bw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gj9cD-0007C2-NE; Mon, 14 Jan 2019 21:17:49 +0000 Received: from mail.0dd.nl ([5.2.79.48]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gj9cA-0007BG-Ol for linux-mediatek@lists.infradead.org; Mon, 14 Jan 2019 21:17:49 +0000 Received: from mail.vdorst.com (mta.0dd.nl [IPv6:fd01::250]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.0dd.nl (Postfix) with ESMTPS id 313D65FA17; Mon, 14 Jan 2019 22:17:37 +0100 (CET) Received: from pc-rene.vdorst.com (unknown [IPv6:2a02:a453:deab:1:da50:e6ff:fed1:4a04]) by mail.vdorst.com (Postfix) with ESMTPA id D7B821362342; Mon, 14 Jan 2019 22:17:36 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.vdorst.com D7B821362342 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vdorst.com; s=default; t=1547500656; bh=mg1WVCYDwcB6iJsgW3FmtX3/IyMHhfX9Xr4Hpbz0Rao=; h=From:To:Cc:Subject:Date:From; b=hfkDwfz0qydlZysLgO1TcW3Cr/8MJVeSyexJsnJw6Hxyml5reDjKbwBaPK5MpdnlK h/XBxWO5MN23RZrTX2ORXximrRajU/QuoRCwFc/9FVhuJMt2iZfG3mt3KMWvsG786u PmHZobuX/1biZ63JlHLSfeyrxFbkv1gBMCfzRfV5IYKu0Nl6Q0gG2iJWTbJV50lNdn iix1EoRXBj+nTWwCeL4lj6182B2IgUSizR1gjvJmZ/yg8EXJ3Bc6/zo0pcZEiHejpc VyA0X4YWMvb0KeIjsOSATq9z4v27fFoKq1MJkD4f0vErYX1tcHTq4vmf68wTfpwB+C qSfpFMBfkgM8Q== From: =?utf-8?q?Ren=C3=A9_van_Dorst?= To: linux-watchdog@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH] watchdog: mt7621: Fix compiler error, missing include Date: Mon, 14 Jan 2019 22:17:19 +0100 Message-Id: <20190114211719.11461-1-opensource@vdorst.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190114_131747_083414_9AB72F1B X-CRM114-Status: UNSURE ( 9.01 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Ren=C3=A9_van_Dorst?= Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP drivers/watchdog/mt7621_wdt.c:174:34: error: array type has incomplete element type 'struct of_device_id' static const struct of_device_id mt7621_wdt_match[] = { ^~~~~~~~~~~~~~~~ drivers/watchdog/mt7621_wdt.c:175:4: error: field name not in record or union initializer { .compatible = "mediatek,mt7621-wdt" }, ^ drivers/watchdog/mt7621_wdt.c:175:4: note: (near initialization for 'mt7621_wdt_match') drivers/watchdog/mt7621_wdt.c:174:34: warning: 'mt7621_wdt_match' defined but not used [-Wunused-variable] static const struct of_device_id mt7621_wdt_match[] = { ^~~~~~~~~~~~~~~~ Signed-off-by: René van Dorst --- drivers/watchdog/mt7621_wdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/mt7621_wdt.c b/drivers/watchdog/mt7621_wdt.c index 5c4a764717c4..a3be7db9d76f 100644 --- a/drivers/watchdog/mt7621_wdt.c +++ b/drivers/watchdog/mt7621_wdt.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include