> I did it this way, as ioremap returns a void *. And it's ok to do > math on a void pointer, works the same way as math on a char *. It > got rid of two casts in the driver with this change. Not too sure abour that. Gcc wouldn't have a flag (-Wcast-arith) for this without a reason. -- Jean Delvare http://www.ensicaen.ismra.fr/~delvare/