Made compare module amd compliant
Merge pull request #1 from danne567/amdcompliant

Made compare module amd compliant