lkml.org 
[lkml]   [2011]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] misc/pti.c: Fix build error when PCI is not selected

* Tracey Dent <tdent48227@gmail.com> wrote:

> On Thu, Aug 11, 2011 at 09:45:20AM -0700, Randy Dunlap wrote:
> > On Thu, 11 Aug 2011 12:23:06 -0400 Tracey Dent wrote:
> >
> > > When you try to build INTEL_MID_PTI without having PCI
> > > enabled. It fails like this-
> > >
> > > CC [M] drivers/misc/pti.o
> > > drivers/misc/pti.c: In function ‘pti_pci_remove’:
> > > drivers/misc/pti.c:410: error: implicit declaration of function ‘pci_release_region’
> > > drivers/misc/pti.c: In function ‘pti_pci_probe’:
> > > drivers/misc/pti.c:859: error: implicit declaration of function ‘pci_request_region’
> > >
> > > So make INTEL_MID_PTI depend on PCI to fix build error.
> >
> > I think (hope) that Greg already has a patch like this queued.
> > Greg- are you planning to push some patches soon?
> >
> >
>
> Okay, sorry for the noise then.

FYI, The fix is still not upstream, as of today's -git
(72ed62bdc46d):

drivers/misc/pti.c:410:3: error: implicit declaration of function ‘pci_release_region’ [-Werror=implicit-function-declaration]
drivers/misc/pti.c:859:2: error: implicit declaration of function ‘pci_request_region’ [-Werror=implicit-function-declaration]

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-08-18 18:27    [W:0.074 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site