]> Pileus Git - ~andy/linux/commit
staging: comedi: me4000: remove program_regbase from private data
authorH Hartley Sweeten <hartleys@visionengravers.com>
Sat, 8 Sep 2012 00:48:09 +0000 (17:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Sep 2012 04:54:42 +0000 (21:54 -0700)
commitfe531d12acff926628df11df6d476474383a9f3f
treeea7a978c05551d7fe1b394650ca77658ae7b2032
parent5f8f8d43506652a361f81abc5ccd18c608dfc84d
staging: comedi: me4000: remove program_regbase from private data

The program_regbase variable in the private data is only used
when the board is first attached. This variable holds the pci
base address used to read/write the xilinx part to upload the
firmware.

Use a local variable in the xilinx_download() function to hold
this address and remove program_regbase from the private data.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/me4000.c
drivers/staging/comedi/drivers/me4000.h