linux-can-fixes-for-5.15-20210907

-----BEGIN PGP SIGNATURE-----
 
 iQFHBAABCgAxFiEEK3kIWJt9yTYMP3ehqclaivrt76kFAmE3C1cTHG1rbEBwZW5n
 dXRyb25peC5kZQAKCRCpyVqK+u3vqQ3iB/sFd7JMKwxz9QbyYxtic+aMGC1soMKa
 htgUcRHVgJoowOpsCypuODw63X586eZhJNiTxQR1/X1ITbmFt3fcHZBqqC7uxDjZ
 xeN3KL4II/XONCaKk6uq1MfegMS92bwT9Yxk4RYa9/7p3lOWNCFW3U5OvuZ0ORCj
 lRPzV1+TIczsZEtTgHXQT4HVkI1OVwxP/Ln/3hI9M2icLwekUDyHSYF3lcZgwJCu
 s41w3nFD6T6/ByaaUBnUps1OcP/Dqz++qWtQU2Wj8E6U/x+EiLyddvWBzPX1ZAO9
 vFnUirj+tdIBXjKbsgz+oLtNM6cah0Hi9uOA3xagxUmqf5PePj09wEHs
 =5G2W
 -----END PGP SIGNATURE-----

Merge tag 'linux-can-fixes-for-5.15-20210907' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can

linux-can-fixes-for-5.15-20210907

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2021-09-07 10:06:50 +01:00
commit 1c990729e1
2 changed files with 2 additions and 4 deletions

View File

@ -15,10 +15,8 @@ static void c_can_get_drvinfo(struct net_device *netdev,
struct ethtool_drvinfo *info)
{
struct c_can_priv *priv = netdev_priv(netdev);
struct platform_device *pdev = to_platform_device(priv->device);
strscpy(info->driver, "c_can", sizeof(info->driver));
strscpy(info->bus_info, pdev->name, sizeof(info->bus_info));
strscpy(info->bus_info, dev_name(priv->device), sizeof(info->bus_info));
}
static void c_can_get_ringparam(struct net_device *netdev,

View File

@ -2017,7 +2017,7 @@ static int __maybe_unused rcar_canfd_resume(struct device *dev)
static SIMPLE_DEV_PM_OPS(rcar_canfd_pm_ops, rcar_canfd_suspend,
rcar_canfd_resume);
static const struct of_device_id rcar_canfd_of_table[] = {
static const __maybe_unused struct of_device_id rcar_canfd_of_table[] = {
{ .compatible = "renesas,rcar-gen3-canfd", .data = (void *)RENESAS_RCAR_GEN3 },
{ .compatible = "renesas,rzg2l-canfd", .data = (void *)RENESAS_RZG2L },
{ }