mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 02:04:19 +08:00
s390/qdio: remove a forward declaration
Shift the definition of tiqdio_airq around, so that it doesn't require a forward declaration for tiqdio_thinint_handler(). Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Reviewed-by: Benjamin Block <bblock@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
parent
4e79a5d41e
commit
d86f71fd43
@ -39,14 +39,6 @@ struct indicator_t {
|
||||
static LIST_HEAD(tiq_list);
|
||||
static DEFINE_MUTEX(tiq_list_lock);
|
||||
|
||||
/* Adapter interrupt definitions */
|
||||
static void tiqdio_thinint_handler(struct airq_struct *airq, bool floating);
|
||||
|
||||
static struct airq_struct tiqdio_airq = {
|
||||
.handler = tiqdio_thinint_handler,
|
||||
.isc = QDIO_AIRQ_ISC,
|
||||
};
|
||||
|
||||
static struct indicator_t *q_indicators;
|
||||
|
||||
u64 last_ai_time;
|
||||
@ -209,6 +201,11 @@ static void tiqdio_thinint_handler(struct airq_struct *airq, bool floating)
|
||||
rcu_read_unlock();
|
||||
}
|
||||
|
||||
static struct airq_struct tiqdio_airq = {
|
||||
.handler = tiqdio_thinint_handler,
|
||||
.isc = QDIO_AIRQ_ISC,
|
||||
};
|
||||
|
||||
static int set_subchannel_ind(struct qdio_irq *irq_ptr, int reset)
|
||||
{
|
||||
struct chsc_scssc_area *scssc = (void *)irq_ptr->chsc_page;
|
||||
|
Loading…
Reference in New Issue
Block a user