From patchwork Wed Jun 19 18:45:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13704444 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6B513C2BD09 for ; Wed, 19 Jun 2024 18:46:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=i2ZaP1GIFake6LOudA2QCXAqpH6bV7MuTKm6aVLhChY=; b=g2aptkqkbmdIsYLzvsHoiLzEvz TNxbtEObEPH2RfEExRxjrKe7DVXnmnks5YjlDxBbBMWmPH8DaZPeP0AysM6MHdewwuQDlxh0vcV6X 70Bw+K37mJW7FFXKFt43+Uldqiz36mo3wR9aRC+aAUIqqrThOPau3a4pFnJtQq9vgE/NtvBCsNGoC ehGbpsoVC1UmIhqO42Z54mF98Y9fYIcPjEN4ljdMpxnqNOuljGUGDqCV0jeexWq9k8sG6l00tcNLJ AenR5+NqVbs6vmFuFH1addunzO0B3H8oyTCzeFd6PNd/pn9n6lNKKflnBY/mLURoqiPHI2To9FsUt PrJuvODw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sK0Jz-00000002QXu-1QcC; Wed, 19 Jun 2024 18:46:15 +0000 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sK0Jr-00000002QSI-23nR for linux-arm-kernel@lists.infradead.org; Wed, 19 Jun 2024 18:46:09 +0000 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-3629c517da9so105893f8f.2 for ; Wed, 19 Jun 2024 11:46:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1718822765; x=1719427565; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=i2ZaP1GIFake6LOudA2QCXAqpH6bV7MuTKm6aVLhChY=; b=yp9kRno6y1tm9LJKOCcvJXZohdhEMcAcKSYvyl6TGBeMGPHaDTYRL84hG3EZGFWQ5Z XLF1Yw/PZoW8j7U46ZeHML2Jn/oDAsZJOMulEKEp0e7c8SHyN6ezdSP+4kLMjkva7QaS yaitR1e7LyX++4k1VndF32QMRwcY/tiDGZGOTsSLGPLSP/CtfA+gaaoQmo18MGpzMYcC +gKTokCKMcuDI8bHetp+VDoF4uWP/YyTCLUP2e2IXQgJM/RE19EQeuRZAN/Lhi+lOzlW Ocpvhb3MofM67xWQIkn1GyqQyRj+DKaoeV+5+FQOKK8PPxIbR9EkBW7MDqmJYrHt67wS seTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718822765; x=1719427565; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=i2ZaP1GIFake6LOudA2QCXAqpH6bV7MuTKm6aVLhChY=; b=XAH/SvKM/WO1M7cK+2htFZyskyZo/la4maL2C8I2KmCuM8+ews9lfKQviLZXezWq9q Zbt16a1X9V2zotlHPoy0qwdmhtCwU7Q8GkUPKh3veLJA8P2Zo1QGgKEN+FX708aaptTj 42uscpJaX9HHbgpd9+18fi7xECpuAXWjdFu1pnWDo4byyb+wAjhCsbeF9M3aLdVddc7R 2WNZnfVxw5b97PHSILoS9ituLMEep9ZmzHVHCzR0m7vpTfM7zwRUVFdo/bCCp0+5aGHv 6/LguvRdlfVuDlXt2NgF5if8v3QwiugyiCE4yD2MLXheGGqqbLoYAyh0wlydFNQ/pBgt zYtw== X-Forwarded-Encrypted: i=1; AJvYcCX/8GH5h0oFVsTzw6kU1rrp/lPCS4SgfxgVFtLQKvt84IlL0r7l8lALNI3nenyGM1lc9sXjPU71HtBWOisavKXktY9csRbhg/dgKS0h6d90eq5FmYI= X-Gm-Message-State: AOJu0YwPM33H4YLRBT6vUxPDRDk1fdD3e+/tUiHgaRuQAxMNoGNsCTlm eaZsRpNYThujdL3AEMgYZwwATPGUkJ70YWqhOOnHeHRMjMWsuRy6k/ezvRqcl7E= X-Google-Smtp-Source: AGHT+IFHpgEdcFxPeHRNEDbOoGGaHbIDTAIRX4vjn/KLZAdtQ8VVBfo3vmxuKjBv7nIHdarP5mwF1w== X-Received: by 2002:a5d:590c:0:b0:35f:1eba:cf66 with SMTP id ffacd0b85a97d-363199905dbmr3314238f8f.61.1718822765554; Wed, 19 Jun 2024 11:46:05 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:dc:7e00:991f:deb8:4c5d:d73d]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36098c8c596sm7594156f8f.14.2024.06.19.11.46.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jun 2024 11:46:04 -0700 (PDT) From: Bartosz Golaszewski To: Vinod Koul , Alexandre Torgue , Jose Abreu , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Andrew Lunn , Heiner Kallweit , Russell King Cc: netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH net-next 3/8] net: phy: aquantia: add missing include guards Date: Wed, 19 Jun 2024 20:45:44 +0200 Message-ID: <20240619184550.34524-4-brgl@bgdev.pl> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240619184550.34524-1-brgl@bgdev.pl> References: <20240619184550.34524-1-brgl@bgdev.pl> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240619_114607_593882_8326FB9B X-CRM114-Status: UNSURE ( 9.85 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Bartosz Golaszewski The header is missing the include guards so add them. Signed-off-by: Bartosz Golaszewski Reviewed-by: Andrew Lunn --- drivers/net/phy/aquantia/aquantia.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/net/phy/aquantia/aquantia.h b/drivers/net/phy/aquantia/aquantia.h index c0e1fd9d7152..b8502793962e 100644 --- a/drivers/net/phy/aquantia/aquantia.h +++ b/drivers/net/phy/aquantia/aquantia.h @@ -6,6 +6,9 @@ * Author: Heiner Kallweit */ +#ifndef AQUANTIA_H +#define AQUANTIA_H + #include #include @@ -198,3 +201,5 @@ int aqr_phy_led_hw_control_set(struct phy_device *phydev, u8 index, int aqr_phy_led_active_low_set(struct phy_device *phydev, int index, bool enable); int aqr_phy_led_polarity_set(struct phy_device *phydev, int index, unsigned long modes); + +#endif /* AQUANTIA_H */