git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
[pandora-kernel.git]
/
drivers
/
net
/
sfc
/
net_driver.h
diff --git
a/drivers/net/sfc/net_driver.h
b/drivers/net/sfc/net_driver.h
index
6b2e440
..
ba636e0
100644
(file)
--- a/
drivers/net/sfc/net_driver.h
+++ b/
drivers/net/sfc/net_driver.h
@@
-836,7
+836,7
@@
static inline const char *efx_dev_name(struct efx_nic *efx)
static inline unsigned int efx_port_num(struct efx_nic *efx)
{
- return efx->
port_num
;
+ return efx->
net_dev->dev_id
;
}
/**