spi-gpio-custom: fix section mismatch
authorHauke Mehrtens <hauke@openwrt.org>
Sat, 5 Mar 2016 16:23:19 +0000 (16:23 +0000)
committerHauke Mehrtens <hauke@openwrt.org>
Sat, 5 Mar 2016 16:23:19 +0000 (16:23 +0000)
commit707630c3ad443626b9d2e8a59295bb5c7d834d3a
treec9d45c16173294093c9927635dca2a27ca2fb4fc
parent6f20d7c86970d548cd6ed0e130bf1349a68ee866
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
package/kernel/spi-gpio-custom/src/spi-gpio-custom.c