|
@@ -2744,10 +2744,8 @@ static int __init hifn_init(void)
|
|
unsigned int freq;
|
|
unsigned int freq;
|
|
int err;
|
|
int err;
|
|
|
|
|
|
- if (sizeof(dma_addr_t) > 4) {
|
|
|
|
- printk(KERN_INFO "HIFN supports only 32-bit addresses.\n");
|
|
|
|
- return -EINVAL;
|
|
|
|
- }
|
|
|
|
|
|
+ /* HIFN supports only 32-bit addresses */
|
|
|
|
+ BUILD_BUG_ON(sizeof(dma_addr_t) != 4);
|
|
|
|
|
|
if (strncmp(hifn_pll_ref, "ext", 3) &&
|
|
if (strncmp(hifn_pll_ref, "ext", 3) &&
|
|
strncmp(hifn_pll_ref, "pci", 3)) {
|
|
strncmp(hifn_pll_ref, "pci", 3)) {
|