mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 20:00:53 +07:00
9aab906a9a
This patch corrects the SPDX License Identifier style in header files related to PHY Layer for Ethernet drivers. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used). This patch also gives an explicit block comment to the SPDX License Identifier. Changes made by using a script provided by Joe Perches here: https://lkml.org/lkml/2019/2/7/46. Suggested-by: Joe Perches <joe@perches.com> Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
17 lines
450 B
C
17 lines
450 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* HWMON driver for Aquantia PHY
|
|
*
|
|
* Author: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
|
|
* Author: Andrew Lunn <andrew@lunn.ch>
|
|
* Author: Heiner Kallweit <hkallweit1@gmail.com>
|
|
*/
|
|
|
|
#include <linux/device.h>
|
|
#include <linux/phy.h>
|
|
|
|
#if IS_REACHABLE(CONFIG_HWMON)
|
|
int aqr_hwmon_probe(struct phy_device *phydev);
|
|
#else
|
|
static inline int aqr_hwmon_probe(struct phy_device *phydev) { return 0; }
|
|
#endif
|