Re: linux-next: build failure after merge of the gpio tree

From: Mark Brown
Date: Sat Feb 04 2012 - 07:10:59 EST

On Fri, Feb 03, 2012 at 04:18:08PM -0700, Grant Likely wrote:

> I've dropped the patch from my tree. Looks like there are still a few
> drivers that need to be either fixed up or made "depends on

Would it not be better to add a followup patch replacing the removed
headers with something like:

#ifndef __LINUX_GPIO_H
#warn Don't include asm/gpio.h directly, include linux/gpio.h instead

instead? Perhaps even without the ifdef. That will mean we still get
rid of the boilerplate and will encourage fixups to drivers, nothing
that hits these can be relying on a custom implementation since all the
headers concerned are boilerplate ones.

Attachment: signature.asc
Description: Digital signature