mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
cleanup
This commit is contained in:
parent
154794ac51
commit
421adf6872
@ -506,6 +506,7 @@ static inline void gtlw(struct ddb_link *link)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if 0
|
||||||
static u32 ddblreadl(struct ddb_link *link, u32 adr)
|
static u32 ddblreadl(struct ddb_link *link, u32 adr)
|
||||||
{
|
{
|
||||||
if (unlikely(link->nr)) {
|
if (unlikely(link->nr)) {
|
||||||
@ -539,6 +540,7 @@ static void ddblwritel(struct ddb_link *link, u32 val, u32 adr)
|
|||||||
}
|
}
|
||||||
writel(val, (char *) (link->dev->regs + (adr)));
|
writel(val, (char *) (link->dev->regs + (adr)));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static u32 ddbreadl(struct ddb *dev, u32 adr)
|
static u32 ddbreadl(struct ddb *dev, u32 adr)
|
||||||
{
|
{
|
||||||
|
@ -131,7 +131,6 @@ static int __init octonet_probe(struct platform_device *pdev)
|
|||||||
struct ddb *dev;
|
struct ddb *dev;
|
||||||
struct resource *regs;
|
struct resource *regs;
|
||||||
int irq;
|
int irq;
|
||||||
int i;
|
|
||||||
|
|
||||||
dev = vzalloc(sizeof(struct ddb));
|
dev = vzalloc(sizeof(struct ddb));
|
||||||
if (!dev)
|
if (!dev)
|
||||||
|
Loading…
Reference in New Issue
Block a user