X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Fntb%2Fhw%2Fmscc%2Fntb_hw_switchtec.c;h=d6bbcc7b5b90d6ea693439774178c05bb715cf3b;hb=2243acd50ac4026e93ac4f024109be6dbd7f9098;hp=88ae18b0efa8dadb2b42ef8873dc31c878aa0a2d;hpb=6b0d49be81cf4f1cf30ebd079cbf4643cab0a01d;p=platform%2Fkernel%2Flinux-starfive.git diff --git a/drivers/ntb/hw/mscc/ntb_hw_switchtec.c b/drivers/ntb/hw/mscc/ntb_hw_switchtec.c index 88ae18b..d6bbcc7 100644 --- a/drivers/ntb/hw/mscc/ntb_hw_switchtec.c +++ b/drivers/ntb/hw/mscc/ntb_hw_switchtec.c @@ -1470,8 +1470,7 @@ static int switchtec_ntb_reinit_peer(struct switchtec_ntb *sndev) return rc; } -static int switchtec_ntb_add(struct device *dev, - struct class_interface *class_intf) +static int switchtec_ntb_add(struct device *dev) { struct switchtec_dev *stdev = to_stdev(dev); struct switchtec_ntb *sndev; @@ -1541,8 +1540,7 @@ free_and_exit: return rc; } -static void switchtec_ntb_remove(struct device *dev, - struct class_interface *class_intf) +static void switchtec_ntb_remove(struct device *dev) { struct switchtec_dev *stdev = to_stdev(dev); struct switchtec_ntb *sndev = stdev->sndev;