summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/resource.c
diff options
context:
space:
mode:
authorRashika Kheria <rashika.kheria@gmail.com>2013-12-14 18:50:56 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-01-06 00:24:54 +0100
commit62c6dae02d4fe2bfa6bc699ae456ff1c50d10bd0 (patch)
treeac1a2e12b9a9be07a4cf0a44e711f1f271fa5c09 /drivers/pnp/resource.c
parent75365d04cd2d6fe04c9c52c69fd97b2d0a6c82ba (diff)
downloadblackbird-op-linux-62c6dae02d4fe2bfa6bc699ae456ff1c50d10bd0.tar.gz
blackbird-op-linux-62c6dae02d4fe2bfa6bc699ae456ff1c50d10bd0.zip
PNP: Mark the function pnp_build_option() as static in resource.c
This patch marks the function pnp_build_option() as static in resource.c because it is not used outside this file. Thus, it also eliminates the following warning in resource.c: drivers/pnp/resource.c:34:20: warning: no previous prototype for ‘pnp_build_option’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/pnp/resource.c')
-rw-r--r--drivers/pnp/resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/resource.c b/drivers/pnp/resource.c
index d95e101ffb43..bacddd102ae9 100644
--- a/drivers/pnp/resource.c
+++ b/drivers/pnp/resource.c
@@ -31,7 +31,7 @@ static int pnp_reserve_mem[16] = {[0 ... 15] = -1 }; /* reserve (don't use) some
* option registration
*/
-struct pnp_option *pnp_build_option(struct pnp_dev *dev, unsigned long type,
+static struct pnp_option *pnp_build_option(struct pnp_dev *dev, unsigned long type,
unsigned int option_flags)
{
struct pnp_option *option;
OpenPOWER on IntegriCloud