aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parport
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/parport')
-rw-r--r--drivers/parport/parport_pc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c
index a85808938205..e71092e80288 100644
--- a/drivers/parport/parport_pc.c
+++ b/drivers/parport/parport_pc.c
@@ -3082,6 +3082,7 @@ static struct pci_driver parport_pc_pci_driver;
3082static int __init parport_pc_init_superio(int autoirq, int autodma) {return 0;} 3082static int __init parport_pc_init_superio(int autoirq, int autodma) {return 0;}
3083#endif /* CONFIG_PCI */ 3083#endif /* CONFIG_PCI */
3084 3084
3085#ifdef CONFIG_PNP
3085 3086
3086static const struct pnp_device_id parport_pc_pnp_tbl[] = { 3087static const struct pnp_device_id parport_pc_pnp_tbl[] = {
3087 /* Standard LPT Printer Port */ 3088 /* Standard LPT Printer Port */
@@ -3148,6 +3149,9 @@ static struct pnp_driver parport_pc_pnp_driver = {
3148 .remove = parport_pc_pnp_remove, 3149 .remove = parport_pc_pnp_remove,
3149}; 3150};
3150 3151
3152#else
3153static struct pnp_driver parport_pc_pnp_driver;
3154#endif /* CONFIG_PNP */
3151 3155
3152static int __devinit parport_pc_platform_probe(struct platform_device *pdev) 3156static int __devinit parport_pc_platform_probe(struct platform_device *pdev)
3153{ 3157{