Take out em_poll() prototype from under EM_FAST_IRQ control.

Reported by:	tindebox compiling a LINT kernel
This commit is contained in:
Ruslan Ermilov 2007-11-21 12:55:33 +00:00
parent 7b8d9f5cb3
commit c87e4fcd08

@ -298,9 +298,6 @@ static void em_enable_wakeup(device_t);
#ifndef EM_FAST_IRQ
static void em_intr(void *);
#ifdef DEVICE_POLLING
static poll_handler_t em_poll;
#endif /* POLLING */
#else /* FAST IRQ */
#if __FreeBSD_version < 700000
static void em_intr_fast(void *);
@ -313,6 +310,10 @@ static void em_handle_rxtx(void *context, int pending);
static void em_handle_link(void *context, int pending);
#endif /* EM_FAST_IRQ */
#ifdef DEVICE_POLLING
static poll_handler_t em_poll;
#endif /* POLLING */
/*********************************************************************
* FreeBSD Device Interface Entry Points
*********************************************************************/