Re: [PATCH -mmotm] w1: fix ds2423 build, needs to select CRC16

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for noticing the missing crc16 module selection, it's indeed 
needed if it's not for some other reason selected in the .config.

Mika

> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> 
> Fix w1_ds2423 build:  needs to select CRC16.
> 
> w1_ds2423.c:(.text+0x9971d): undefined reference to `crc16'
> w1_ds2423.c:(.text+0x9973a): undefined reference to `crc16'
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> Cc: Mika Laitio <lamikr@xxxxxxxxxx>
> ---
>  drivers/w1/slaves/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- mmotm-2010-1117-1703.orig/drivers/w1/slaves/Kconfig
> +++ mmotm-2010-1117-1703/drivers/w1/slaves/Kconfig
> @@ -18,6 +18,7 @@ config W1_SLAVE_SMEM
>  
>  config W1_SLAVE_DS2423
>  	tristate "Counter 1-wire device (DS2423)"
> +	select CRC16
>  	help
>  	  If you enable this you can read the counter values available
>  	  in the DS2423 chipset from the w1_slave file under the
> 

-- 
Terveisin Mika

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]