mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 08:25:01 +07:00
42193e3efb
Armin pointed me to the fact that the identifier which is used to ensure the unique include processing in lunux/include/uapi/linux/can.h is CAN_H. This clashed with his own source as includes from libraries and APIs should use an underscore '_' at the identifier start. This patch fixes the protection identifiers in all CAN relavant includes. Reported-by: Armin Burchardt <armin@uni-bremen.de> Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
22 lines
432 B
C
22 lines
432 B
C
#ifndef _CAN_PLATFORM_MCP251X_H
|
|
#define _CAN_PLATFORM_MCP251X_H
|
|
|
|
/*
|
|
*
|
|
* CAN bus driver for Microchip 251x CAN Controller with SPI Interface
|
|
*
|
|
*/
|
|
|
|
#include <linux/spi/spi.h>
|
|
|
|
/*
|
|
* struct mcp251x_platform_data - MCP251X SPI CAN controller platform data
|
|
* @oscillator_frequency: - oscillator frequency in Hz
|
|
*/
|
|
|
|
struct mcp251x_platform_data {
|
|
unsigned long oscillator_frequency;
|
|
};
|
|
|
|
#endif /* !_CAN_PLATFORM_MCP251X_H */
|