Revert "Update device.h"

This reverts commit 912f93c17092bba50c3be8c55fe66235a6037037.
Revert "Revert "Revert "module.h: split out the EXPORT_SYMBOL into export.h"""

This reverts commit 2e0bef38b03f37b88d13ca3ee2e30922ee24db16.