Commit 39fc2a2b authored by Alessandro Rubini's avatar Alessandro Rubini

kernel: remove unused regs fields from struct fd_dev

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent c1e25312
......@@ -202,9 +202,6 @@ int fd_probe(struct fmc_device *fmc)
spin_lock_init(&fd->lock);
fmc->mezzanine_data = fd;
fd->fmc = fmc;
/* FIXME: don't use base below, but fmc_readl/fmc_writel */
fd->regs = fmc->base + FD_REGS_BASE; /* FIXME: remove this completely */
fd->ow_regs = fd->regs + 0x500;
fd->verbose = fd_verbose;
fd->calib = fd_default_calib;
......
......@@ -176,9 +176,6 @@ struct fd_dev {
struct timer_list temp_timer;
struct fd_calib calib;
struct fd_ch ch[FD_CH_NUMBER];
unsigned char __iomem *base; /* regs files are byte-oriented */
unsigned char __iomem *regs;
unsigned char __iomem *ow_regs;
uint32_t bin;
int acam_addr; /* cache of currently active addr */
uint8_t ds18_id[8];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment