return status ? 1 : 0;
}
-/* Match table for device tree binding */
-static const struct of_device_id __devinitconst xnandps_of_match[] = {
- { .compatible = "xlnx,ps7-nand-1.00.a" },
- {},
-};
-MODULE_DEVICE_TABLE(of, xnandps_of_match);
-
/**
* xnandps_probe - Probe method for the NAND driver
* @pdev: Pointer to the platform_device structure
return 0;
}
+/* Match table for device tree binding */
+static const struct of_device_id __devinitconst xnandps_of_match[] = {
+ { .compatible = "xlnx,ps7-nand-1.00.a" },
+ {},
+};
+MODULE_DEVICE_TABLE(of, xnandps_of_match);
+
/*
* xnandps_driver - This structure defines the NAND subsystem platform driver
*/