History log of /openwrt/package/kernel/spi-gpio-custom/src/spi-gpio-custom.c
Revision Date Author Comments
# 707630c3 05-Mar-2016 Hauke Mehrtens <hauke@openwrt.org>

spi-gpio-custom: fix section mismatch

This fixes this section mismatch warning:
The function spi_gpio_custom_get_slave_cs() references
the variable __initdata bus_nump.
This is often because spi_gpio_custom_get_slave_cs lacks a __initdata
annotation or the annotation of bus_nump is wrong.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48930 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 94082a91 02-Sep-2013 Gabor Juhos <juhosg@openwrt.org>

package/kernel: add spi-gpio-custom module

The package makes it possible to create custom SPI
buses via GPIO lines.

This module is based on i2c-gpio-custom and allows to
configure an SPI bus via GPIO lines and expose it to
userspace without rebuilding the kernel. This is maily
intended to connect microcontrollers and other simple
SPI devices without making an ad-hoc kernel driver.

Signed-off-by: Marco Burato <zmaster.adsl@gmail.com>
[juhosg:
- change subject,
- extend and reformat commit message,
- cleanup checkpatch errors/warnings in module source]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37872 3c298f89-4303-0410-b956-a3cf2f4a3e73