summaryrefslogtreecommitdiff
path: root/irq.h
blob: 005e22418b38976242987f578e06594485189d2b (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef IRQ_H
#define IRQ_H

extern int device_irq_number(const char *ifname);
extern void device_restore_irq_affinity_list(void);
extern int device_set_irq_affinity_list(int irq, unsigned long from,
					unsigned long to);
extern int device_set_irq_affinity(int irq, unsigned long cpu);

#endif /* IRQ_H */
>space:mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-02-03 13:20:19 -0500
committerDavid S. Miller <davem@davemloft.net>2017-02-06 16:53:29 -0500
commitc5d35cb32cffa6e4c2db1cbd9a544e10a8d6fda9 (patch)
treea63a457dfaa6d4196a7bce8dfaed28eb67b5af5e /net/dsa
parent9c26542685130ef3b55cdb4e04eec0ac33376b41 (diff)
net: dsa: change state setter scope
The scope of the functions inside net/dsa/slave.c must be the slave net_device pointer. Change to state setter helper accordingly to simplify callers. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
-rw-r--r--net/dsa/slave.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/net/dsa/slave.c b/net/dsa/slave.c