aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/block/floppy.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c
index c2c95e614506..1300df6f1642 100644
--- a/drivers/block/floppy.c
+++ b/drivers/block/floppy.c
@@ -177,6 +177,7 @@ static int print_unex = 1;
177#include <linux/interrupt.h> 177#include <linux/interrupt.h>
178#include <linux/init.h> 178#include <linux/init.h>
179#include <linux/platform_device.h> 179#include <linux/platform_device.h>
180#include <linux/mod_devicetable.h>
180#include <linux/buffer_head.h> /* for invalidate_buffers() */ 181#include <linux/buffer_head.h> /* for invalidate_buffers() */
181#include <linux/mutex.h> 182#include <linux/mutex.h>
182 183
@@ -4597,6 +4598,13 @@ MODULE_AUTHOR("Alain L. Knaff");
4597MODULE_SUPPORTED_DEVICE("fd"); 4598MODULE_SUPPORTED_DEVICE("fd");
4598MODULE_LICENSE("GPL"); 4599MODULE_LICENSE("GPL");
4599 4600
4601/* This doesn't actually get used other than for module information */
4602static const struct pnp_device_id floppy_pnpids[] = {
4603 { "PNP0700", 0 },
4604 { }
4605};
4606MODULE_DEVICE_TABLE(pnp, floppy_pnpids);
4607
4600#else 4608#else
4601 4609
4602__setup("floppy=", floppy_setup); 4610__setup("floppy=", floppy_setup);