summaryrefslogtreecommitdiffstats
path: root/no-pcspkr-modalias.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2017-12-04 07:44:43 -0600
committerJustin M. Forbes <jforbes@fedoraproject.org>2017-12-04 07:44:43 -0600
commitc5708d5b6ee91238bbe2b0176ddf284b1f71251c (patch)
tree48c9327b2114ee201e6d4820ab86295242649a02 /no-pcspkr-modalias.patch
parent6f8cd48d501f2cb2c6a1b57fd5815a1970388775 (diff)
downloadkernel-c5708d5b6ee91238bbe2b0176ddf284b1f71251c.tar.gz
kernel-c5708d5b6ee91238bbe2b0176ddf284b1f71251c.tar.xz
kernel-c5708d5b6ee91238bbe2b0176ddf284b1f71251c.zip
Linux v4.14.3 rebase
Diffstat (limited to 'no-pcspkr-modalias.patch')
-rw-r--r--no-pcspkr-modalias.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/no-pcspkr-modalias.patch b/no-pcspkr-modalias.patch
index e43cd97eb..2ccd87202 100644
--- a/no-pcspkr-modalias.patch
+++ b/no-pcspkr-modalias.patch
@@ -9,7 +9,7 @@ Upstream-status: Fedora mustard
1 file changed, 1 deletion(-)
diff --git a/drivers/input/misc/pcspkr.c b/drivers/input/misc/pcspkr.c
-index 72b1fc3ab910..86907eaa4883 100644
+index 56ddba21de84..23534f420e68 100644
--- a/drivers/input/misc/pcspkr.c
+++ b/drivers/input/misc/pcspkr.c
@@ -23,7 +23,6 @@
@@ -17,6 +17,6 @@ index 72b1fc3ab910..86907eaa4883 100644
MODULE_DESCRIPTION("PC Speaker beeper driver");
MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:pcspkr");
-
- static int pcspkr_event(struct input_dev *dev, unsigned int type, unsigned int code, int value)
- {
+
+ static int pcspkr_event(struct input_dev *dev, unsigned int type,
+ unsigned int code, int value)