While reading "Linux kernel development" by Robert Love, I found at page 119:
The interrupt handler is normally marked static because it is never called directly from another file.
For example:
static irqreturn_t intr_handler(int irq, void *dev)
But why it is so? I doubt this function is going to be called by the kernel and if we make it static, then how is the kernel going to call it?