Commit fc8c7988 authored by Jesse Barnes's avatar Jesse Barnes Committed by Tony Luck

sgi_io_init.c:

  Mark per_hub_init as __init and remove an unnecessary extern declaration of it
  in sgi_io_init.c.  This has the effect of killing a warning in the compile of
  that file.
Signed-off-by: default avatarJesse Barnes <jbarnes@sgi.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 314213bc
...@@ -37,7 +37,7 @@ nasid_t master_nasid = INVALID_NASID; /* This is the partition master nasid */ ...@@ -37,7 +37,7 @@ nasid_t master_nasid = INVALID_NASID; /* This is the partition master nasid */
* *
* This code is executed once for each Hub chip. * This code is executed once for each Hub chip.
*/ */
static void static void __init
per_hub_init(cnodeid_t cnode) per_hub_init(cnodeid_t cnode)
{ {
nasid_t nasid; nasid_t nasid;
...@@ -130,10 +130,8 @@ sgi_master_io_infr_init(void) ...@@ -130,10 +130,8 @@ sgi_master_io_infr_init(void)
klhwg_add_all_modules(hwgraph_root); klhwg_add_all_modules(hwgraph_root);
klhwg_add_all_nodes(hwgraph_root); klhwg_add_all_nodes(hwgraph_root);
for (cnode = 0; cnode < numionodes; cnode++) { for (cnode = 0; cnode < numionodes; cnode++)
extern void per_hub_init(cnodeid_t);
per_hub_init(cnode); per_hub_init(cnode);
}
/* /*
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment