aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/include/linux/rtl8366s.h
blob: 7d5daa4817b42a51ed38c810abcbbd140e595485 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Platform data definition for the Realtek RTL8366S ethernet switch driver
 *
 * Copyright (C) 2009-2010 Gabor Juhos <juhosg@openwrt.org>
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 as published
 * by the Free Software Foundation.
 */

#ifndef _RTL8366S_H
#define _RTL8366S_H

#define RTL8366S_DRIVER_NAME	"rtl8366s"

struct rtl8366s_initval {
	unsigned	reg;
	u16		val;
};

struct rtl8366s_platform_data {
	unsigned	gpio_sda;
	unsigned	gpio_sck;
	unsigned	num_initvals;
	struct rtl8366s_initval *initvals;
};

#endif /*  _RTL8366_SMI_H */