From patchwork Mon Jul 1 08:03:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13717648 X-Patchwork-Delegate: kuba@kernel.org Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A8AD07D08D for ; Mon, 1 Jul 2024 08:03:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719821017; cv=none; b=efx563waUu9w38nyg/hZ7ZVJbrjZa20d3/qw1TFVmKXg81QO0+t9q/xW24guHwc+kZhXcvwMa0R50G4p+8ehVAGcHPKUGn14gxGv41STw7MmcH8hvByD1laZIqEPaEXPEki4KS7h55S2LdFcrNd01rV2O2VcduulVIt8q2+hSPY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719821017; c=relaxed/simple; bh=Shw1Th3WUaSnOFjbNI7at32oQOt0mlvfcwXzXPPaV4I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WXN/SkOk5+rHmryc8IS/cnpe/UpF1nz+zsZ0m0kavoLc2loObak3Noq9pDBdmqbHM5chOFbIcE8jiiEel4DST2TudBlyDxxCHzfPRmxCTqi1w04ikBcNqYq7rm2jvP6QY7H3KUHLOEWF1uC9Qdj84oDGiIEg547i1EcC6qp0pno= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl; spf=none smtp.mailfrom=bgdev.pl; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b=NISqy9QV; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="NISqy9QV" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-42565cdf99cso24140845e9.3 for ; Mon, 01 Jul 2024 01:03:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1719821014; x=1720425814; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=b45V0iviWplF75Nx/Ur6UmqLyJXiIut90SMCIP5elJ0=; b=NISqy9QVHWhB8aLx/k+DBbYwRo9cFPYh5gMoysMiQoB7icmpCEKwnRFUJf+9GQtKZD K9zhYumI+kFHCwfchVnW1S2RzJ5jV+2C2wb6kfG4nO/X8tfLn/4sgPFmwj8857uicAIb HJsqXAJtTdnlg2ct2QYbOxKuh5MuIwCYAhZhZmzPgKx6OUa0NX2XvweDv626OmukZCQD i2vs4OrbfB7V9K/kcfZb+MI32ZMxzfcwjhmg442qagMXqLhN3Us5IMl7GhBSjJryR7YD HDIb2uogg7iU5pEzIjF05fK/ZoIhF6vukGFeubJhgRXCyijcJPrrQy7IP5Tpa0hCorJz Mixw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719821014; x=1720425814; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=b45V0iviWplF75Nx/Ur6UmqLyJXiIut90SMCIP5elJ0=; b=Uw6Zjgcgm7gLHlm7NpgXKOk+N41d56AWdQa3cwjP3DmjhaAgoB4YbWP2rcoypSUf6f t08LGDIlcGmEB+pe2EHok/TXYIs+9ez1kshz+V1y0GusNGnBITEwZW8mTrx17OPbyqSB hFppiEKEx5qTO88Vne+Idvnkf3e+yE+kO8sxn+Xwi8QzB9/Q/rtrVfNaDI1JyeSwwKE1 0zl6ktDGBheLag76+RYFodqaak9F715LurROs100hnpH1BGBKSAVcJ7XodT+wcNKhkWZ SyzK4YADkSmD5MoQwJPvHoTVuiXWEDGp+FGHfSuayY8NqC5SGlH2Vzaia38crp0OQnaw hsEw== X-Gm-Message-State: AOJu0YxSiPvnCJpIarYD1R/F8apr53bSevPy6YdV8z6doERryR+/ut0t EMG8WpklH0vSRqzQ6xaFrR4O0a8Qavioqb3HCnNzLnV74lSqUfTHTz31IqgzMfo= X-Google-Smtp-Source: AGHT+IFfMJT7UhgMv/q10eZW7BhycbYE7gDH2aVKPe6CX2HpFuRwhkf+IuOfRfdxzGiyl5aDicMa3w== X-Received: by 2002:adf:f18b:0:b0:361:dd0c:678 with SMTP id ffacd0b85a97d-367756bc471mr3480189f8f.36.1719821014086; Mon, 01 Jul 2024 01:03:34 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:dc:7e00:1c2d:13b2:676b:59c2]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3675a0fba5asm9310049f8f.71.2024.07.01.01.03.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jul 2024 01:03:33 -0700 (PDT) From: Bartosz Golaszewski To: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [RESEND PATCH net v2] net: phy: aquantia: add missing include guards Date: Mon, 1 Jul 2024 10:03:22 +0200 Message-ID: <20240701080322.9569-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org From: Bartosz Golaszewski The header is missing the include guards so add them. Reviewed-by: Andrew Lunn Fixes: fb470f70fea7 ("net: phy: aquantia: add hwmon support") Signed-off-by: Bartosz Golaszewski --- Changes since v1: - rebased on top of net/main 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 1c19ae74ad2b..4830b25e6c7d 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 @@ -120,3 +123,5 @@ static inline int aqr_hwmon_probe(struct phy_device *phydev) { return 0; } #endif int aqr_firmware_load(struct phy_device *phydev); + +#endif /* AQUANTIA_H */