aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_irq.h
diff options
context:
space:
mode:
authorPiotr Raczynski <[email protected]>2023-05-15 19:03:12 +0000
committerTony Nguyen <[email protected]>2023-05-16 16:16:53 +0000
commit38e97a98e371c615f67d144ee9e4f7087c0a41e8 (patch)
tree16723cb6b272e875f75e4b6146745ed6c9ef33b5 /drivers/net/ethernet/intel/ice/ice_irq.h
parentMerge branch 'spdx-conversion-for-bonding-8390-and-i825xx-drivers' (diff)
downloadkernel-38e97a98e371c615f67d144ee9e4f7087c0a41e8.tar.gz
kernel-38e97a98e371c615f67d144ee9e4f7087c0a41e8.zip
ice: move interrupt related code to separate file
Keep interrupt handling code in a dedicated file. This helps keep driver structured better and prepares for more functionality added to this file. Reviewed-by: Jacob Keller <[email protected]> Reviewed-by: Simon Horman <[email protected]> Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel) Signed-off-by: Piotr Raczynski <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_irq.h')
-rw-r--r--drivers/net/ethernet/intel/ice/ice_irq.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_irq.h b/drivers/net/ethernet/intel/ice/ice_irq.h
new file mode 100644
index 000000000000..82475162ab70
--- /dev/null
+++ b/drivers/net/ethernet/intel/ice/ice_irq.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/* Copyright (C) 2023, Intel Corporation. */
+
+#ifndef _ICE_IRQ_H_
+#define _ICE_IRQ_H_
+
+int ice_init_interrupt_scheme(struct ice_pf *pf);
+void ice_clear_interrupt_scheme(struct ice_pf *pf);
+
+#endif