Skip to content
Commit f49cbe6b authored by Damien Riegel's avatar Damien Riegel Committed by Marc Kleine-Budde
Browse files

can: sja1000: of: add per-compatible init hook



This commit adds the capability to allocate and init private data
embedded in the sja1000_priv structure on a per-compatible basis. The
device node is passed as a parameter of the init callback to allow
parsing of custom device tree properties.

Signed-off-by: default avatarDamien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 80c804bf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment