]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - drivers/char/ppdev.c
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152
[mirror_ubuntu-eoan-kernel.git] / drivers / char / ppdev.c
index 7a56d1a13ec3af64f10b87101a7a51488a09320c..f0a8adca1eeea9259c48147824e76123a7f86993 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * linux/drivers/char/ppdev.c
  *
@@ -6,11 +7,6 @@
  *
  * Copyright (C) 1998-2000, 2002 Tim Waugh <tim@cyberelk.net>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version
- * 2 of the License, or (at your option) any later version.
- *
  * A /dev/parportx device node represents an arbitrary device
  * on port 'x'.  The following operations are possible:
  *
@@ -776,7 +772,7 @@ static __poll_t pp_poll(struct file *file, poll_table *wait)
 
        poll_wait(file, &pp->irq_wait, wait);
        if (atomic_read(&pp->irqc))
-               mask |= POLLIN | POLLRDNORM;
+               mask |= EPOLLIN | EPOLLRDNORM;
 
        return mask;
 }