From: Martin Sperl Date: Tue, 12 May 2015 10:32:08 +0000 (+0000) Subject: spi: bcm2835: fix kbuild compile warnings/errors and a typo X-Git-Tag: omap-for-v4.3/legacy-v2-signed~175^2~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e52be0d576e8f7bc99a606f07b9d000c4340f04;p=pandora-kernel.git spi: bcm2835: fix kbuild compile warnings/errors and a typo fixes several warnings/error emmitted by the kbuild system: * warn: cast from pointer to integer of different size using size_t instead of u32 * error: 'SZ_4K' undeclared moved to PAGE_SIZE and PAGE_MASK instead Review showed also a typo in the same code where tx_buff was checked twice instead of checking both rx and tx_buff. Reported by: Stephen Rothwell Signed-off-by: Martin Sperl Signed-off-by: Mark Brown --- Reading git-diff-tree failed