lkml.org 
[lkml]   [2016]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/7] ahci: Convert driver to use modern PM hooks
On Thu, Feb 18, 2016 at 08:12:46AM -0500, Tejun Heo wrote:
> On Thu, Feb 18, 2016 at 12:45:05PM +0200, Andy Shevchenko wrote:
> > > + .driver.pm = &ahci_pci_pm_ops,
> >
> > Please, do this in several assignments, since to support older compilers.
>
> Can you please elaborate? That's a single assignment. Are there
> compilers which can't do that?

Old gcc (I think 4.4 is the last one) needs:

.driver = {
.pm = &ahci_pci_pm_ops,
},

\
 
 \ /
  Last update: 2016-02-18 16:01    [W:0.066 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site