Skip to contentSkip to conversation

OMAP SSI build error

DISCUSSION Russell King - ARM Linux 2 participants 2 messages Jun 6, 2014

lore
Share & tools
lore
#0 lore raw

I recently spotted this build error (via a randconfig build):

drivers/hsi/controllers/omap_ssi_port.c: In function 'ssi_port_probe':
drivers/hsi/controllers/omap_ssi_port.c:1119:2: error: implicit declaration of function 'ref_module'

Looks like it's missing out on including linux/module.h which provides the prototype for this function.

Signature · 2 lines
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly
improving, and getting towards what was expected from it.
#1 lore raw

Hi Russell,

Quoted 7 lines · Russell King - ARM Linux

I recently spotted this build error (via a randconfig build):

drivers/hsi/controllers/omap_ssi_port.c: In function 'ssi_port_probe':
drivers/hsi/controllers/omap_ssi_port.c:1119:2: error: implicit declaration of function 'ref_module'

Looks like it's missing out on including linux/module.h which provides the prototype for this function.

I have a fix for that in my for-next branch:

https://git.kernel.org/cgit/linux/kernel/git/sre/linux-hsi.git/commit/?h=for-next&id=b357d7b58f379ebe8038cd97b6204f2f5c52220d

-- Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140606/68edb4fb/attachment-0001.sig>