The aforementioned build error is a bug in drivers/net/wireless/ath/ath9k/debug.h. I am not sure if it is a known bug, but I am pretty confident that somebody from compat-wireless is going to notice...