Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp498142iof; Mon, 6 Jun 2022 07:26:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwq0R+fE9cyctDCbA886i4flgaKqUDdlIMUfuc4hCnEifSrEKykiSOVxyblLBqwbPUXXjWs X-Received: by 2002:a17:90b:4a8c:b0:1e2:f378:631d with SMTP id lp12-20020a17090b4a8c00b001e2f378631dmr26556787pjb.58.1654525618517; Mon, 06 Jun 2022 07:26:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654525618; cv=none; d=google.com; s=arc-20160816; b=e33QdCy/jktT9JcsScU8yzokUGE8640VbWqJUy2j47gZXOs0ECh+zymAJUtQg1fKvS fKk69hpDkspXb3LKIL63/vB0ASu+j++SlhGxppD0WJx+hHMqXkbm4mqhT5vZCz6rstVV d6jL40qxMVrhiGFagHkBizLuYCjqBLYKU/QF9pDtM+j2Ua+Ph0Z8dKBGx6KQuLoje6lF LM55FAw9HhwW3/K2kZ+WmRJpx9fAL1KmS9sSRbz90sTcAWbIsPzROrf8LxXdG5mhjb2N M06RBjkGedxigjMCTUz6DjwYdUBPRhvSk4WUIkrbfSmNi5Rz4NkYeoE2gHEYun38EsQ6 Th9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=j3EJO2obCyVK10pqkmSp66gwjSH5GMIelQCPaokU77E=; b=nGAdrTP7htFBjNxvK3NJxjAxEnNRLybKP7mh6V+TMkGKF8Cb/k68GKic3jWddsGxoZ oPYAG8tGyVczjiTh5z8Bje9lEL4LUGpSIJqfCONGQRmMNhmd0Umvbr6M/yOMhAMaxsqc 3zL68PYICVGqO/LfDpeUZVgk7s/R13q4EsDToAge5gP+E99TyLdPfiBjdDBGNtVB2Vbt RHqGEDr6723lMU6VulEMyUk5RUrYygoqZKdQsSsEhJ2BpOjce2q49V2p7NUihV/LW6hN UigvSnKX9kKf8SLZBSAAfhM3tvDpaI4PLJIZMy2P57xY8c91ZxygvaH5z7ybo5iJkXzx G2Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tk2F0WXX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id g32-20020a635220000000b003fadd961503si19648135pgb.865.2022.06.06.07.26.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 07:26:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tk2F0WXX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0071913FB3; Mon, 6 Jun 2022 07:12:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239607AbiFFOMB (ORCPT + 99 others); Mon, 6 Jun 2022 10:12:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239587AbiFFOL6 (ORCPT ); Mon, 6 Jun 2022 10:11:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2669227FD2 for ; Mon, 6 Jun 2022 07:11:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B7ABC61375 for ; Mon, 6 Jun 2022 14:11:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43AE0C3411C; Mon, 6 Jun 2022 14:11:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654524717; bh=jEFcX4+rGobfNa0MECgKONfbmATsAGer9hHBokT4s5g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tk2F0WXXTci5g5Ag501ao+8yKFGIEhoEAodqi9ePh1wX6HgIoeJVv+DTNhSxMNMU3 Avq4i5/1UBm8a1XWTBW6oQB6FUJf1nhymkWYPJQoxAXG2TgAc9YGUo37XkvPeiPB+k ePRDONbAdVao5Uh0Ynq7XRrVPgj5qKdar+EIepL9S/Leg2wttJ1JGfIshZEFldLDqU XeVQISK2J5fh4mWl8PqxkMF2xtPyfvLlVuWZl/wmsClpnBTKF537xKAtkC0CEnb9fR 3BRk7MCVjezwq9oixFjgRF0Gdc804skcEfPOvaAVIbRMoEikdNzQr8RXzhX8n+lHC2 zvZUIRY2uQLig== From: Tzung-Bi Shih To: bleung@chromium.org, groeck@chromium.org Cc: chrome-platform@lists.linux.dev, tzungbi@kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 01/13] platform/chrome: cros_ec_commands: fix compile errors Date: Mon, 6 Jun 2022 14:10:39 +0000 Message-Id: <20220606141051.285823-2-tzungbi@kernel.org> X-Mailer: git-send-email 2.36.1.255.ge46751e96f-goog In-Reply-To: <20220606141051.285823-1-tzungbi@kernel.org> References: <20220606141051.285823-1-tzungbi@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix compile errors when including cros_ec_commands.h solely. 1. cros_ec_commands.h:587:9: error: unknown type name 'uint8_t' 587 | uint8_t flags; | ^~~~~~~ 2. cros_ec_commands.h:1105:43: error: implicit declaration of function 'BIT' 1105 | EC_COMMS_STATUS_PROCESSING = BIT(0), | ^~~ Signed-off-by: Tzung-Bi Shih --- include/linux/platform_data/cros_ec_commands.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/platform_data/cros_ec_commands.h b/include/linux/platform_data/cros_ec_commands.h index 8cfa8cfca77e..a5b749a85707 100644 --- a/include/linux/platform_data/cros_ec_commands.h +++ b/include/linux/platform_data/cros_ec_commands.h @@ -13,8 +13,8 @@ #ifndef __CROS_EC_COMMANDS_H #define __CROS_EC_COMMANDS_H - - +#include +#include #define BUILD_ASSERT(_cond) -- 2.36.1.255.ge46751e96f-goog