From: David S. Miller Date: Mon, 28 Oct 2002 11:04:48 +0000 (-0800) Subject: [PNP]: Fix build when CONFIG_PNP is not set. X-Git-Tag: v2.5.45~9^2~3^2~6^2~3 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=dcfea39d6305e3e458a7f0af65c2dcada8c617eb;p=history.git [PNP]: Fix build when CONFIG_PNP is not set. --- diff --git a/include/linux/pnp.h b/include/linux/pnp.h index 5dc223b39724..b11efef23aa9 100644 --- a/include/linux/pnp.h +++ b/include/linux/pnp.h @@ -245,7 +245,7 @@ struct pnp_dev *pnp_find_dev(struct pnp_card *card, /* just in case anyone decides to call these without PnP Support Enabled */ static inline int pnp_protocol_register(struct pnp_protocol *protocol) { return -ENODEV; } -static inline void pnp_protocol_unregister(struct pnp_protocol *protocol) { ; ) +static inline void pnp_protocol_unregister(struct pnp_protocol *protocol) { ; } static inline int pnp_init_device(struct pnp_dev *dev) { return -ENODEV; } static inline int pnp_add_device(struct pnp_dev *dev) { return -ENODEV; } static inline void pnp_remove_device(struct pnp_dev *dev) { ; }