Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7B4BBC433EF for ; Mon, 11 Apr 2022 21:12:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EACA383EF1; Mon, 11 Apr 2022 23:12:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 27D4D83EFB; Mon, 11 Apr 2022 23:12:22 +0200 (CEST) Received: from mail-qv1-f50.google.com (mail-qv1-f50.google.com [209.85.219.50]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id AE46D83A9D for ; Mon, 11 Apr 2022 23:12:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qv1-f50.google.com with SMTP id n11so3829958qvl.0 for ; Mon, 11 Apr 2022 14:12:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=iGIJ538rqQglU34RF0ypGrnNEVT49S6Xuw2rmCcBfNs=; b=aeylvGlDzQB2CxYcCWWjFLh5bsAjuL1i23ODDCjcWWsu5ts9wWJnVZNylCD1XuVmv2 n9nJZieEE9+SWx2l5DzgCxupx4YKcJY7OTivSrCtjk2QGbb3GwcRPqKB+fuDDJ4Hu7zQ fD8zHSJMdEn3yg6H8UljbBBvWv2Z5POdar+x+2fdq5m40EHHu3FlMreqctjISgjVXsUu RY7MaFOwS3+Yq0Qi2DUpZ4F8Nsh4tM79F5QnTe7eEecnXkVCwC/Ox7vDyufL26Ev0UaZ yJrIy1Bwk1dgVi6kWLW0VwBIdZWPyjALGYcEG+hn4P+9bjyVBLqN+GFSfYSN+FaZDNE/ 97Dw== X-Gm-Message-State: AOAM532wrMb/nKmYcD6E7sKWyAuD1vyGiY3xBp46PkfSilZqTtA6kVhO W4ygpbIhKQWL/u6YrWJFuEJ1VhfJmQ== X-Google-Smtp-Source: ABdhPJwbFoaxP0R5VDVM6PEgNwDVohKncp0gZaKMcP7XYOI7hAtDqMq7S/J6LS6r3Xa2wmP++v+FVA== X-Received: by 2002:a05:6214:20a1:b0:42d:6f51:46e2 with SMTP id 1-20020a05621420a100b0042d6f5146e2mr1052659qvd.67.1649711538140; Mon, 11 Apr 2022 14:12:18 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id e15-20020ac84e4f000000b002f02b21f1b7sm657998qtw.57.2022.04.11.14.12.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Apr 2022 14:12:17 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH] linux/mtd/mtd.h: Add Date: Mon, 11 Apr 2022 17:12:15 -0400 Message-Id: <20220411211215.3309454-1-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean We need to know where the typedef of 'ofnode' comes from. Fixes: c86a4de8df61 ("mtd: Add flash_node in struct mtd_info") Signed-off-by: Tom Rini --- include/linux/mtd/mtd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index af45e63bf9c1..ff635bd71681 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h @@ -25,6 +25,7 @@ #if IS_ENABLED(CONFIG_DM) #include #endif +#include #define MAX_MTD_DEVICES 32 #endif -- 2.25.1