- changed #ifdef to #if for device filter - guarded file in case no GPIO device is defined - added guards around interrupts