projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05871f9
)
staging: rts5208: Use common pci_get_bus_and_slot() instead of private one
author
Yijing Wang
<wangyijing@huawei.com>
Fri, 5 Jun 2015 06:04:59 +0000
(14:04 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 8 Jun 2015 20:38:56 +0000
(13:38 -0700)
We already have a inline pci_get_bus_and_slot() in include/linux/pci.h,
Use it instead of local one.
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx.h
patch
|
blob
|
history
diff --git
a/drivers/staging/rts5208/rtsx.h
b/drivers/staging/rts5208/rtsx.h
index aa1e034f7f4552fa1153c9f0f299eacad45bbd43..1396263e13e6e7215b58a4aa7dca16609acf5862 100644
(file)
--- a/
drivers/staging/rts5208/rtsx.h
+++ b/
drivers/staging/rts5208/rtsx.h
@@
-48,9
+48,6
@@
#define CR_DRIVER_NAME "rts5208"
-#define pci_get_bus_and_slot(bus, devfn) \
- pci_get_domain_bus_and_slot(0, (bus), (devfn))
-
/*
* macros for easy use
*/