irq_poll: mark __irq_poll_complete static
authorChristoph Hellwig <hch@lst.de>
Mon, 7 Dec 2015 14:57:25 +0000 (06:57 -0800)
committerChristoph Hellwig <hch@lst.de>
Fri, 11 Dec 2015 19:52:28 +0000 (11:52 -0800)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
include/linux/irq_poll.h
lib/irq_poll.c

index b4ad03cee9d41c6156a2b959c83673a9d26b8c91..8c4b4087f1f2141223e4c81e3efc973b93421fe2 100644 (file)
@@ -21,7 +21,6 @@ enum {
 extern void irq_poll_sched(struct irq_poll *);
 extern void irq_poll_init(struct irq_poll *, int, irq_poll_fn *);
 extern void irq_poll_complete(struct irq_poll *);
-extern void __irq_poll_complete(struct irq_poll *);
 extern void irq_poll_enable(struct irq_poll *);
 extern void irq_poll_disable(struct irq_poll *);
 
index 53d67e341ebb7b7fb5c468a5389500376094cb8b..2836620e889f5681a4780fcfea496fc4b9230117 100644 (file)
@@ -47,13 +47,12 @@ EXPORT_SYMBOL(irq_poll_sched);
  *     See irq_poll_complete(). This function must be called with interrupts
  *     disabled.
  **/
-void __irq_poll_complete(struct irq_poll *iop)
+static void __irq_poll_complete(struct irq_poll *iop)
 {
        list_del(&iop->list);
        smp_mb__before_atomic();
        clear_bit_unlock(IRQ_POLL_F_SCHED, &iop->state);
 }
-EXPORT_SYMBOL(__irq_poll_complete);
 
 /**
  * irq_poll_complete - Mark this @iop as un-polled again