kernel/die-floppy-die.patch

30 lines
784 B
Diff
Raw Normal View History

2010-07-29 23:46:31 +00:00
From: Kyle McMartin <kyle@phobos.i.jkkm.org>
Date: Tue, 30 Mar 2010 00:04:29 -0400
Subject: [PATCH] die-floppy-die
2010-07-29 23:46:31 +00:00
Kill the floppy.ko pnp modalias. We were surviving just fine without
autoloading floppy drivers, tyvm.
Please feel free to register all complaints in the wastepaper bin.
Bugzilla: N/A
Upstream-status: Fedora mustard
2010-07-29 23:46:31 +00:00
---
drivers/block/floppy.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
2010-07-29 23:46:31 +00:00
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c
2015-02-13 16:00:04 +00:00
index a08cda955285..e320e1e679cf 100644
2010-07-29 23:46:31 +00:00
--- a/drivers/block/floppy.c
+++ b/drivers/block/floppy.c
2015-02-13 16:00:04 +00:00
@@ -4633,8 +4633,7 @@ static const struct pnp_device_id floppy_pnpids[] = {
2010-07-29 23:46:31 +00:00
{"PNP0700", 0},
{}
};
-
-MODULE_DEVICE_TABLE(pnp, floppy_pnpids);
+/* MODULE_DEVICE_TABLE(pnp, floppy_pnpids); */
#else