#include <linux/errno.h>
#include <linux/memblock.h>
#include <linux/export.h>
+#include <linux/module.h>
#include <asm/cacheflush.h>
#include <asm/pgtable.h>
void dump_iommu_sysfs_init(void )
{
+ u32 ret;
dump_mmu_object = kobject_create_and_add("rk_iommu", NULL);
if (dump_mmu_object == NULL)
return;
- sysfs_create_file(dump_mmu_object, &dev_attr_dump_mmu_pgtable.attr);
+ ret = sysfs_create_file(dump_mmu_object, &dev_attr_dump_mmu_pgtable.attr);
return;
}