projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
driver core: class: remove struct class_interface * from callbacks
[platform/kernel/linux-starfive.git]
/
drivers
/
ntb
/
hw
/
mscc
/
ntb_hw_switchtec.c
diff --git
a/drivers/ntb/hw/mscc/ntb_hw_switchtec.c
b/drivers/ntb/hw/mscc/ntb_hw_switchtec.c
index
88ae18b
..
d6bbcc7
100644
(file)
--- 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;
}
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;
{
struct switchtec_dev *stdev = to_stdev(dev);
struct switchtec_ntb *sndev;
@@
-1541,8
+1540,7
@@
free_and_exit:
return rc;
}
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;
{
struct switchtec_dev *stdev = to_stdev(dev);
struct switchtec_ntb *sndev = stdev->sndev;