lnbh25: fix lnbh25_attach inline wrapper
Subsystems (2)
PATCH 1/1 lnbh25: fix lnbh25_attach inline wrapper
The 'static inline' version of lnbh25_attach() has an incorrect prototype which results in a build error when CONFIG_DVB_LNBH25 is disabled:
In file included from /git/arm-soc/drivers/media/pci/netup_unidvb/netup_unidvb_core.c:36:0:
/git/arm-soc/drivers/media/dvb-frontends/lnbh25.h:46:86: error: unknown type name 'dvb_frontend'
This changes the code to have the correct prototype.
---
Found on ARM randconfig builds
drivers/media/dvb-frontends/lnbh25.h +1 -1
@@ -43,7 +43,7 @@ struct dvb_frontend *lnbh25_attach(struct lnbh25_config *cfg, struct i2c_adapter *i2c);#else -static inline dvb_frontend *lnbh25_attach ( +static inline struct dvb_frontend *lnbh25_attach (struct dvb_frontend *fe,struct lnbh25_config *cfg,struct i2c_adapter *i2c)
Hello Arnd,
Quoted 4 lines · Arnd Bergmann
The 'static inline' version of
lnbh25_attach()has an incorrect prototype which results in a build error whenCONFIG_DVB_LNBH25is disabled:
Quoted 8 lines
In file included from /git/arm-soc/drivers/media/pci/netup_unidvb/netup_unidvb_core.c:36:0:
/git/arm-soc/drivers/media/dvb-frontends/lnbh25.h:46:86: error: unknown type name 'dvb_frontend'This changes the code to have the correct prototype.
Signed-off-by Arnd Bergmann <[email protected]>Fixes e025273b86fb ("[media] lnbh25: LNBH25 SEC controller driver")---
Same for this patch, the same change is already in the media fixes branch [0].
Best regards,
Javier
Quoted 11 lines · On Friday 16 October 2015 23:45:46 Javier Martinez Canillas wrote:
Quoted 9 lines · Arnd Bergmann
The 'static inline' version of
lnbh25_attach()has an incorrect prototype which results in a build error whenCONFIG_DVB_LNBH25is disabled:In file included from /git/arm-soc/drivers/media/pci/netup_unidvb/netup_unidvb_core.c:36:0:
/git/arm-soc/drivers/media/dvb-frontends/lnbh25.h:46:86: error: unknown type name 'dvb_frontend'This changes the code to have the correct prototype.
Quoted 7 lines
Quoted 3 lines
Signed-off-by Arnd Bergmann <[email protected]>Fixes e025273b86fb ("[media] lnbh25: LNBH25 SEC controller driver")---
Same for this patch, the same change is already in the media fixes branch [0].
Ah, I see. The patches must have crossed then, it was still broken in linux-next this morning.
Arnd
Hello Arnd,
Quoted 16 lines · Arnd Bergmann
Quoted 15 lines · On Friday 16 October 2015 23:45:46 Javier Martinez Canillas wrote:
Quoted 12 lines · Arnd Bergmann
The 'static inline' version of
lnbh25_attach()has an incorrect prototype which results in a build error whenCONFIG_DVB_LNBH25is disabled:In file included from /git/arm-soc/drivers/media/pci/netup_unidvb/netup_unidvb_core.c:36:0:
/git/arm-soc/drivers/media/dvb-frontends/lnbh25.h:46:86: error: unknown type name 'dvb_frontend'This changes the code to have the correct prototype.
Signed-off-by Arnd Bergmann <[email protected]>Fixes e025273b86fb ("[media] lnbh25: LNBH25 SEC controller driver")---
Quoted 7 lines
Quoted 3 lines
Same for this patch, the same change is already in the media fixes branch [0].
Ah, I see. The patches must have crossed then, it was still broken in linux-next this morning.
Well, I don't see that branch listed in
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/Next/Trees
Quoted 1 line
Arnd
Best regards,
Javier