source: trunk/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.h @ 20627

Last change on this file since 20627 was 20627, checked in by juhosg, 7 years ago

ramips: annotate device register function prototypes with init

File size: 629 bytes
Line 
1/*
2 * Ralink RT305x SoC specific platform device definitions
3 *
4 * Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published
8 * by the Free Software Foundation.
9 */
10
11#ifndef __RT305X_DEVICES_H
12#define __RT305X_DEVICES_H
13
14struct physmap_flash_data;
15
16extern void rt305x_register_flash(unsigned int id,
17                                  struct physmap_flash_data *pdata) __init;
18extern void rt305x_register_ethernet(void) __init;
19extern void rt305x_register_wifi(void) __init;
20
21#endif  /* __RT305X_DEVICES_H */
22
Note: See TracBrowser for help on using the repository browser.