Re: [PATCH] blackfin: fix ifdef fustercluck in mach-bf538/boards/ezkit.c

From: Mike Frysinger
Date: Fri Apr 20 2012 - 00:07:36 EST


On Wednesday 18 April 2012 23:57:18 Paul Gortmaker wrote:
> This file has lots and lots of ifdef, around structure decls
> and structure usages.

yeah. we killed some off, and there probably is room for more, but some of the
subsystems are not friendly to dynamic resource management, so we need some of
the ifdefs. SPI doesn't like it if you declare resources for different devices
on the same CS even if you never actually use the device in question. be nice
if the detection could be delayed until "open" time.

> but since I had to tag the #endif with their respective #ifdef
> options to find this misplaced SPI endif, it would be silly to
> then go and delete them all. So they stay.

Acked-by: Mike Frysinger <vapier@xxxxxxxxxx>
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.