git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel-2_6_6-1_441
[linux-2.6.git]
/
drivers
/
net
/
hamradio
/
scc.c
diff --git
a/drivers/net/hamradio/scc.c
b/drivers/net/hamradio/scc.c
index
0e6844f
..
f7fc3b9
100644
(file)
--- a/
drivers/net/hamradio/scc.c
+++ b/
drivers/net/hamradio/scc.c
@@
-1714,13
+1714,11
@@
static int scc_net_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
struct scc_mem_config memcfg;
struct scc_hw_config hwcfg;
struct scc_calibrate cal;
struct scc_mem_config memcfg;
struct scc_hw_config hwcfg;
struct scc_calibrate cal;
- struct scc_channel *scc;
+ struct scc_channel *scc
= (struct scc_channel *) dev->priv
;
int chan;
unsigned char device_name[IFNAMSIZ];
int chan;
unsigned char device_name[IFNAMSIZ];
- void
*arg
;
+ void
__user *arg = ifr->ifr_data
;
- scc = (struct scc_channel *) dev->priv;
- arg = (void *) ifr->ifr_data;
if (!Driver_Initialized)
{
if (!Driver_Initialized)
{