summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/card.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-25 19:46:21 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-26 12:00:11 -0700
commit25cdcd0086d97a011fcd0c1ff572e30da24790ec (patch)
treeb3c6ab7ff2813ec3253af8d993f40264f941a8f4 /drivers/pnp/card.c
parent96930a6365c99c160138a395566e360b27348b8f (diff)
make pnp_add_card_id() static
pnp_add_card_id() can now become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Cc: Bjorn Helgaas <bjorn.helgaas@hp.com> Cc: Rene Herman <rene.herman@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pnp/card.c')
-rw-r--r--drivers/pnp/card.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/card.c b/drivers/pnp/card.c
index b00ef1030e4..e75b060daa9 100644
--- a/drivers/pnp/card.c
+++ b/drivers/pnp/card.c
@@ -102,7 +102,7 @@ static int card_probe(struct pnp_card *card, struct pnp_card_driver *drv)
* @id: pointer to a pnp_id structure
* @card: pointer to the desired card
*/
-struct pnp_id *pnp_add_card_id(struct pnp_card *card, char *id)
+static struct pnp_id *pnp_add_card_id(struct pnp_card *card, char *id)
{
struct pnp_id *dev_id, *ptr;