platform.c 461 B

1234567891011121314151617
  1. /*
  2. * Copyright 2011 Texas Instruments Incorporated
  3. *
  4. * This file is licensed under the terms of the GNU General Public License
  5. * version 2. This program is licensed "as is" without any warranty of any
  6. * kind, whether express or implied.
  7. */
  8. #include <linux/init.h>
  9. #include <linux/of_platform.h>
  10. static int __init c6x_device_probe(void)
  11. {
  12. of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
  13. return 0;
  14. }
  15. core_initcall(c6x_device_probe);