Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
FMC ADC 100M 14b 4cha - Software
Commits
2ee50374
Commit
2ee50374
authored
Sep 07, 2012
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fa-core.c: nobody use fa->base, remove it
Signed-off-by:
Federico Vaga
<
federico.vaga@gmail.com
>
parent
fe0855bf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
fa-core.c
fa-core.c
+0
-3
fmc-adc.h
fmc-adc.h
+0
-3
No files found.
fa-core.c
View file @
2ee50374
...
...
@@ -35,7 +35,6 @@ int fa_probe(struct fmc_device *fmc)
{
struct
fa_modlist
*
m
=
NULL
;
struct
fa_dev
*
fa
;
struct
spec_dev
*
spec
=
fmc
->
carrier_data
;
int
err
,
i
=
0
;
if
(
strcmp
(
fmc
->
carrier_name
,
"SPEC"
))
{
...
...
@@ -48,9 +47,7 @@ int fa_probe(struct fmc_device *fmc)
if
(
!
fa
)
return
-
ENOMEM
;
fmc_set_drvdata
(
fmc
,
fa
);
fa
->
fmc
=
fmc
;
fa
->
base
=
spec
->
remap
[
0
];
/* We first write a new binary (and lm32) within the spec */
err
=
fmc
->
op
->
reprogram
(
fmc
,
&
fa_dev__drv
,
fa_binaries
);
...
...
fmc-adc.h
View file @
2ee50374
...
...
@@ -60,7 +60,6 @@ struct dma_item {
* @cur_dev_mem: contains the device address to the current block of data in
* transmission from device. It is updated for each dma_items
* transfer
* @base: the base address for to access device registers (BAR0)
*/
struct
fa_dev
{
struct
fmc_device
*
fmc
;
...
...
@@ -75,8 +74,6 @@ struct fa_dev {
uint32_t
lst_dev_mem
;
uint32_t
cur_dev_mem
;
unsigned
char
__iomem
*
base
;
/* one-wire */
uint8_t
ds18_id
[
8
];
unsigned
long
next_t
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment