platform.h 718 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2011 Zhang, Keguang <keguang.zhang@gmail.com>
  3. *
  4. * This program is free software; you can redistribute it and/or modify it
  5. * under the terms of the GNU General Public License as published by the
  6. * Free Software Foundation; either version 2 of the License, or (at your
  7. * option) any later version.
  8. */
  9. #ifndef __ASM_MACH_LOONGSON1_PLATFORM_H
  10. #define __ASM_MACH_LOONGSON1_PLATFORM_H
  11. #include <linux/platform_device.h>
  12. extern struct platform_device ls1x_uart_device;
  13. extern struct platform_device ls1x_eth0_device;
  14. extern struct platform_device ls1x_ehci_device;
  15. extern struct platform_device ls1x_rtc_device;
  16. void ls1x_serial_setup(void);
  17. #endif /* __ASM_MACH_LOONGSON1_PLATFORM_H */