Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44758
b: refs/heads/master
c: 687d18a
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Dec 20, 2006
1 parent 6270e75 commit ac6da35
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fd38451f1512fd5230e3c5dcc66d1ca867af879b
refs/heads/master: 687d18abed09315a531470a0edcae977ef6a7f9e
9 changes: 6 additions & 3 deletions trunk/drivers/net/iseries_veth.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
#include <asm/abs_addr.h>
#include <asm/iseries/mf.h>
#include <asm/uaccess.h>

#include <asm/firmware.h>
#include <asm/iseries/hv_lp_config.h>
#include <asm/iseries/hv_types.h>
#include <asm/iseries/hv_lp_event.h>
Expand Down Expand Up @@ -1668,7 +1668,7 @@ static struct vio_driver veth_driver = {
* Module initialization/cleanup
*/

void __exit veth_module_cleanup(void)
static void __exit veth_module_cleanup(void)
{
int i;
struct veth_lpar_connection *cnx;
Expand Down Expand Up @@ -1697,11 +1697,14 @@ void __exit veth_module_cleanup(void)
}
module_exit(veth_module_cleanup);

int __init veth_module_init(void)
static int __init veth_module_init(void)
{
int i;
int rc;

if (!firmware_has_feature(FW_FEATURE_ISERIES))
return -ENODEV;

this_lp = HvLpConfig_getLpIndex_outline();

for (i = 0; i < HVMAXARCHITECTEDLPS; ++i) {
Expand Down

0 comments on commit ac6da35

Please sign in to comment.