diff options
Diffstat (limited to 'drivers/spi/spi-gpio.c')
| -rw-r--r-- | drivers/spi/spi-gpio.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/spi/spi-gpio.c b/drivers/spi/spi-gpio.c index aee4e7589568..1c34c9314c8a 100644 --- a/drivers/spi/spi-gpio.c +++ b/drivers/spi/spi-gpio.c | |||
| @@ -12,10 +12,6 @@ | |||
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. | 14 | * GNU General Public License for more details. |
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License | ||
| 17 | * along with this program; if not, write to the Free Software | ||
| 18 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 19 | */ | 15 | */ |
| 20 | #include <linux/kernel.h> | 16 | #include <linux/kernel.h> |
| 21 | #include <linux/module.h> | 17 | #include <linux/module.h> |
| @@ -92,7 +88,7 @@ struct spi_gpio { | |||
| 92 | 88 | ||
| 93 | /*----------------------------------------------------------------------*/ | 89 | /*----------------------------------------------------------------------*/ |
| 94 | 90 | ||
| 95 | static inline struct spi_gpio * __pure | 91 | static inline struct spi_gpio *__pure |
| 96 | spi_to_spi_gpio(const struct spi_device *spi) | 92 | spi_to_spi_gpio(const struct spi_device *spi) |
| 97 | { | 93 | { |
| 98 | const struct spi_bitbang *bang; | 94 | const struct spi_bitbang *bang; |
| @@ -103,7 +99,7 @@ spi_to_spi_gpio(const struct spi_device *spi) | |||
| 103 | return spi_gpio; | 99 | return spi_gpio; |
| 104 | } | 100 | } |
| 105 | 101 | ||
| 106 | static inline struct spi_gpio_platform_data * __pure | 102 | static inline struct spi_gpio_platform_data *__pure |
| 107 | spi_to_pdata(const struct spi_device *spi) | 103 | spi_to_pdata(const struct spi_device *spi) |
| 108 | { | 104 | { |
| 109 | return &spi_to_spi_gpio(spi)->pdata; | 105 | return &spi_to_spi_gpio(spi)->pdata; |
