fanghuilin / rpms / kernel

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