net/sff8472.h: add double-include protection

(cherry picked from commit 6cb5f1629e6f89a468e34625fd4a35ce4585500f)
This commit is contained in:
Konstantin Belousov 2025-04-28 04:43:18 +03:00 committed by Franco Fichtner
parent 4d71997277
commit 2cc31e97b0

View file

@ -26,6 +26,9 @@
* SUCH DAMAGE.
*/
#ifndef _NET_SFF8472_H_
#define _NET_SFF8472_H_
/*
* The following set of constants are from Document SFF-8472
* "Diagnostic Monitoring Interface for Optical Transceivers" revision
@ -524,3 +527,5 @@ static const char *sff_8024_id[SFF_8024_ID_LAST + 1] = {
*/
#define SFF_8472_POWER_FACTOR 10000.0
#endif