diff options
author | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-11 18:56:51 +0000 |
---|---|---|
committer | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-11 18:56:51 +0000 |
commit | 28429ebb2a88b3b7bacaf75f9997312681187e78 (patch) | |
tree | 2effe0428896dfb54cd83d0402a161607c8e2e1d /package/ucmb/src/ucmb.h | |
parent | df128b7feabfe9bf587f18fde89ea35427546b58 (diff) |
ucmb: Experimental SPI-GPIO based communication channel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14478 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ucmb/src/ucmb.h')
-rw-r--r-- | package/ucmb/src/ucmb.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/ucmb/src/ucmb.h b/package/ucmb/src/ucmb.h new file mode 100644 index 000000000..f1a92836f --- /dev/null +++ b/package/ucmb/src/ucmb.h @@ -0,0 +1,13 @@ +#ifndef LINUX_UCMB_H_ +#define LINUX_UCMB_H_ + +struct ucmb_platform_data { + const char *name; + unsigned int gpio_sck; + unsigned int gpio_miso; + unsigned int gpio_mosi; + + struct platform_device *pdev; /* internal */ +}; + +#endif /* LINUX_UCMB_H_ */ |