Commit 2ab37538 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] m68knommu: change addr type to reduce casting in ColdFire serial driver

From: <gerg@snapgear.com>

Change "addr" field type to reduce casting in ColdFire serial driver.
parent f0db3afb
...@@ -40,7 +40,7 @@ struct mcf_stats { ...@@ -40,7 +40,7 @@ struct mcf_stats {
struct mcf_serial { struct mcf_serial {
int magic; int magic;
unsigned int addr; /* UART memory address */ volatile unsigned char *addr; /* UART memory address */
int irq; int irq;
int flags; /* defined in tty.h */ int flags; /* defined in tty.h */
int type; /* UART type */ int type; /* UART type */
......
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