|
@@ -177,6 +177,7 @@ static int print_unex = 1;
|
|
|
#include <linux/interrupt.h>
|
|
|
#include <linux/init.h>
|
|
|
#include <linux/platform_device.h>
|
|
|
+#include <linux/mod_devicetable.h>
|
|
|
#include <linux/buffer_head.h> /* for invalidate_buffers() */
|
|
|
#include <linux/mutex.h>
|
|
|
|
|
@@ -4597,6 +4598,13 @@ MODULE_AUTHOR("Alain L. Knaff");
|
|
|
MODULE_SUPPORTED_DEVICE("fd");
|
|
|
MODULE_LICENSE("GPL");
|
|
|
|
|
|
+/* This doesn't actually get used other than for module information */
|
|
|
+static const struct pnp_device_id floppy_pnpids[] = {
|
|
|
+ { "PNP0700", 0 },
|
|
|
+ { }
|
|
|
+};
|
|
|
+MODULE_DEVICE_TABLE(pnp, floppy_pnpids);
|
|
|
+
|
|
|
#else
|
|
|
|
|
|
__setup("floppy=", floppy_setup);
|