I am writing a device driver for an FPGA connected to the GPMC bus. I am try to adapt the smsc911x device driver for my FPGA device driver. However, the smsc911x is a network device driver and the FPGA is a character driver i believe. I have a skeleton device driver with the init & exit functions which in turn call the platform_driver_register and platform_driver_unregister. However, the probe, remove and shutdown functions that should be called when the driver is registered and unregistered never gets called. I have read some where that i need to edit a board file in arc/arm/mach-omap2/ directory but i don't know what to edit in the board file. How do i specify the read/write callbacks that will be called back when the user-space program opens the driver for read/write operation. In the smsc911x this is done using an instance of the net device driver framework. Can anyone provide a bit of an insight that could help me. Thanks