title: How to register a function in a driver code as its ISR
body: <p>Following the feedback i got from <a href="https://stackoverflow.com/questions/2683682/new-to-linux-kernel-driver-development/2683819">my previous question on Linux Kernel development</a>,</p>
  
  <p>I have written a driver (in Linux-kernel v2.6.32) by comparing it with an existing driver and "borrowing" heavily from its code. The driver is registered fine. The init() and probe() are working fine. I am also able to access the peripheral device registers. <strong>:-)</strong></p>
  
  <p>However i am a bit hazy about the <strong>IRQ/ISR</strong>. The peripheral-device is a input device and raises an interrupt on a GPIO pin.</p>
  
  <blockquote>
    <p>How do i move ahead from the current state to handle the IRQ and execute my ISR function ?</p>
  </blockquote>