2.3.99-pre2: soundcard.c doesn't compile if !CONFIG_PCI

From: Nick Holloway (Nick.Holloway@alfie.demon.co.uk)
Date: Mon Mar 20 2000 - 17:37:57 EST


If you don't have CONFIG_PCI defined (an old 486 ThinkPad), then you
get the following compilation error:

    soundcard.c:672: invalid lvalue in assignment

This is the code "isa_dma_bridge_buggy = dmabug;", but if you do not
have PCI configured, you have "#define isa_dma_bridge_buggy (0)".

In 2.3.51, this code was protected by "#if HAVE_BRIDGE_BUGGY_FUNC".

-- 
 `O O'  | Nick.Holloway@alfie.demon.co.uk
// ^ \\ | http://www.alfie.demon.co.uk/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:31 EST