Re: [PATCH] drivers: firewire: Let several sub-modules depend on HAS_DMA

2014-07-13 Thread Chen Gang
On 07/13/2014 04:42 PM, Stefan Richter wrote: > On Jul 13 Chen Gang wrote: >> >> config FIREWIRE_OHCI >> tristate "OHCI-1394 controllers" >> -depends on PCI && FIREWIRE && MMU >> +depends on PCI && FIREWIRE && MMU && HAS_DMA >> help >>Enable this driver if you have a

Re: [PATCH] drivers: firewire: Let several sub-modules depend on HAS_DMA

2014-07-13 Thread Stefan Richter
On Jul 13 Chen Gang wrote: > Several sub-modules of 'firewire' need HAS_DMA, so let them depend on it. > FIREWIRE_NET and FIREWIRE_OHCI use 'core-iso.c' which also needs HAS_DMA, > so need 'ifdef' the related function by CONFIG_HAS_DMA in 'core-iso.c'. > > The related error (with allmodconfig

Re: [PATCH] drivers: firewire: Let several sub-modules depend on HAS_DMA

2014-07-13 Thread Stefan Richter
On Jul 13 Chen Gang wrote: Several sub-modules of 'firewire' need HAS_DMA, so let them depend on it. FIREWIRE_NET and FIREWIRE_OHCI use 'core-iso.c' which also needs HAS_DMA, so need 'ifdef' the related function by CONFIG_HAS_DMA in 'core-iso.c'. The related error (with allmodconfig under

Re: [PATCH] drivers: firewire: Let several sub-modules depend on HAS_DMA

2014-07-13 Thread Chen Gang
On 07/13/2014 04:42 PM, Stefan Richter wrote: On Jul 13 Chen Gang wrote: config FIREWIRE_OHCI tristate OHCI-1394 controllers -depends on PCI FIREWIRE MMU +depends on PCI FIREWIRE MMU HAS_DMA help Enable this driver if you have a FireWire controller based

[PATCH] drivers: firewire: Let several sub-modules depend on HAS_DMA

2014-07-12 Thread Chen Gang
Several sub-modules of 'firewire' need HAS_DMA, so let them depend on it. FIREWIRE_NET and FIREWIRE_OHCI use 'core-iso.c' which also needs HAS_DMA, so need 'ifdef' the related function by CONFIG_HAS_DMA in 'core-iso.c'. The related error (with allmodconfig under score): MODPOST 1365 modules

[PATCH] drivers: firewire: Let several sub-modules depend on HAS_DMA

2014-07-12 Thread Chen Gang
Several sub-modules of 'firewire' need HAS_DMA, so let them depend on it. FIREWIRE_NET and FIREWIRE_OHCI use 'core-iso.c' which also needs HAS_DMA, so need 'ifdef' the related function by CONFIG_HAS_DMA in 'core-iso.c'. The related error (with allmodconfig under score): MODPOST 1365 modules