mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-08 15:04:45 +00:00
can: flexcan: add platform data header
Add platform data header for flexcan. Link: https://lore.kernel.org/r/20210702094841.327679-1-angelo@kernel-space.org Signed-off-by: Angelo Dureghello <angelo@kernel-space.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
parent
f4f5247daa
commit
896e7f3e74
23
include/linux/can/platform/flexcan.h
Normal file
23
include/linux/can/platform/flexcan.h
Normal file
@ -0,0 +1,23 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (C) 2021 Angelo Dureghello <angelo@kernel-space.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef _CAN_PLATFORM_FLEXCAN_H
|
||||
#define _CAN_PLATFORM_FLEXCAN_H
|
||||
|
||||
struct flexcan_platform_data {
|
||||
u32 clock_frequency;
|
||||
u8 clk_src;
|
||||
};
|
||||
|
||||
#endif /* _CAN_PLATFORM_FLEXCAN_H */
|
Loading…
Reference in New Issue
Block a user