diff options
author | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-18 22:47:42 +0000 |
---|---|---|
committer | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-18 22:47:42 +0000 |
commit | 8ec0044b32d2fe4f657609ae9f6d6cccc2ee8124 (patch) | |
tree | 3b87b97dfd96fa55e4665ff8896768e9ce011031 /package/ucmb/driver/ucmb.h | |
parent | 7d3da97bc60f35ecbe4f62f19c3a3d45dd11315f (diff) |
ucmb: move to packages feed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14560 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ucmb/driver/ucmb.h')
-rw-r--r-- | package/ucmb/driver/ucmb.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/package/ucmb/driver/ucmb.h b/package/ucmb/driver/ucmb.h deleted file mode 100644 index 94fdc6420e..0000000000 --- a/package/ucmb/driver/ucmb.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef LINUX_UCMB_H_ -#define LINUX_UCMB_H_ - -#include <linux/types.h> - -/** - * struct ucmb_platform_data - UCMB device descriptor - * - * @name: The name of the device. This will also be the name of - * the misc char device. - * - * @gpio_cs: The chipselect GPIO pin. Can be SPI_GPIO_NO_CHIPSELECT. - * @gpio_sck: The clock GPIO pin. - * @gpio_miso: The master-in slave-out GPIO pin. - * @gpio_mosi: The master-out slave-in GPIO pin. - * - * @mode: The SPI bus mode. SPI_MODE_* - * @max_speed_hz: The bus speed, in Hz. If zero the speed is not limited. - * @msg_delay_ms: The message delay time, in milliseconds. - * This is the time the microcontroller takes to process - * one message. - */ -struct ucmb_platform_data { - const char *name; - - unsigned long gpio_cs; - unsigned int gpio_sck; - unsigned int gpio_miso; - unsigned int gpio_mosi; - - u8 mode; - u32 max_speed_hz; - unsigned int msg_delay_ms; - - struct platform_device *pdev; /* internal */ -}; - -#endif /* LINUX_UCMB_H_ */ |