提交 f16537ba 编写于 作者: D David S. Miller

[SPARC64]: pci_resource_adjust() cannot be __init.

Noticed by Meelis Roos.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 e5dd42e4
......@@ -495,8 +495,8 @@ static void __devinit apb_calc_first_last(u8 map, u32 *first_p, u32 *last_p)
*last_p = last;
}
static void __init pci_resource_adjust(struct resource *res,
struct resource *root)
static void pci_resource_adjust(struct resource *res,
struct resource *root)
{
res->start += root->start;
res->end += root->start;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册