lkml.org 
[lkml]   [2008]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 20/31] drivers/pnp: Make static
Sparse asked whether these could be static.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
drivers/pnp/resource.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/pnp/resource.c b/drivers/pnp/resource.c
index f604061..d5b1e05 100644
--- a/drivers/pnp/resource.c
+++ b/drivers/pnp/resource.c
@@ -30,8 +30,8 @@ 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,
- unsigned int option_flags)
+static struct pnp_option *pnp_build_option(struct pnp_dev *dev,
+ unsigned long type, unsigned int option_flags)
{
struct pnp_option *option;



\
 
 \ /
  Last update: 2008-12-09 22:23    [W:0.157 / U:0.052 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site