platform.c 690 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * ARC FPGA Platform support code
  3. *
  4. * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #include <linux/types.h>
  11. #include <linux/init.h>
  12. #include <linux/platform_device.h>
  13. /*
  14. * Early Platform Initialization called from setup_arch()
  15. */
  16. void __init arc_platform_early_init(void)
  17. {
  18. pr_info("[plat-arcfpga]: registering early dev resources\n");
  19. }
  20. int __init fpga_plat_init(void)
  21. {
  22. pr_info("[plat-arcfpga]: registering device resources\n");
  23. return 0;
  24. }
  25. arch_initcall(fpga_plat_init);