[2.6 patch] make pnp_add_card_id() static

From: Adrian Bunk
Date: Mon May 05 2008 - 14:29:22 EST


pnp_add_card_id() can now become static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---

drivers/pnp/base.h | 1 -
drivers/pnp/card.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)

8a8949ff2a589ecf6eddf3dfd8f58edb7c46a657 diff --git a/drivers/pnp/base.h b/drivers/pnp/base.h
index 4fe7c58..fd82496 100644
--- a/drivers/pnp/base.h
+++ b/drivers/pnp/base.h
@@ -14,7 +14,6 @@ struct pnp_id *pnp_add_id(struct pnp_dev *dev, char *id);
int pnp_interface_attach_device(struct pnp_dev *dev);

int pnp_add_card(struct pnp_card *card);
-struct pnp_id *pnp_add_card_id(struct pnp_card *card, char *id);
void pnp_remove_card(struct pnp_card *card);
int pnp_add_card_device(struct pnp_card *card, struct pnp_dev *dev);
void pnp_remove_card_device(struct pnp_dev *dev);
diff --git a/drivers/pnp/card.c b/drivers/pnp/card.c
index a762a41..8617766 100644
--- a/drivers/pnp/card.c
+++ b/drivers/pnp/card.c
@@ -101,7 +101,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;


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/