diff options
author | Thomas Renninger <trenn@suse.de> | 2008-02-06 10:40:03 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 19:41:19 +0100 |
commit | 2bb9a6b32f98873adf89a0de04c898681a2c5b8e (patch) | |
tree | 1205b9a0873e55db0f8fdff59943f2f9f3782647 /drivers/pnp/manager.c | |
parent | simplify pnp_activate_dev() and pnp_disable_dev() return values (diff) | |
download | linux-2bb9a6b32f98873adf89a0de04c898681a2c5b8e.tar.xz linux-2bb9a6b32f98873adf89a0de04c898681a2c5b8e.zip |
pnp: declare PNP option parsing functions as __init
There are three kind of parse functions provided by PNP acpi/bios:
- get current resources
- set resources
- get possible resources
The first two may be needed later at runtime.
The possible resource settings should never change dynamically.
And even if this would make any sense (I doubt it), the current implementation
only parses possible resource settings at early init time:
-> declare all the option parsing __init
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Thomas Renninger <trenn@suse.de>
Acked-By: Rene Herman <rene.herman@gmail.com>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pnp/manager.c')
0 files changed, 0 insertions, 0 deletions