how to access GPIO in mini2440

akshay
Hi all,
Iam currently working on arm mini2440 and need help in interfacing a ping
sensor to it.can anyone give me a detailed tutorial regarding how to access
gpio as it is to be added to my kernel.Can anyone help me with the coding
part as weel.
Thankyou