]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: ocp: parameterize the i2c driver used
authorJonathan Lemon <jonathan.lemon@gmail.com>
Wed, 15 Sep 2021 02:16:19 +0000 (19:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Sep 2021 10:10:00 +0000 (11:10 +0100)
commit996ad49fd3c43d1fa85fd182494e226db0321001
treeaaa0d102401270ca1b1173191c24b51d3a21fe78
parent0845bf08392f0fe46a1c1a6d7d32935c3569ee37
ptp: ocp: parameterize the i2c driver used

Move the xilinx i2c driver parameters to the resource block instead
of hardcoding things in the registration functions.

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_ocp.c