OSDN Git Service

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)
commit1618df6afab2c1856cd574444b76f6dccee080df
treeaaa0d102401270ca1b1173191c24b51d3a21fe78
parentc68872146489946509b6bc1667e29192bff46d8d
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