]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: seeq: fix timer conversion
authorArnd Bergmann <arnd@arndb.de>
Thu, 2 Nov 2017 11:13:36 +0000 (12:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Nov 2017 11:33:12 +0000 (20:33 +0900)
commit9691cea91c9d35f09d6b31a5e8dbfc631d40903a
treefaf95d67ca89a07313dbe3fe7df5e831c345f497
parentb35be415499ad257954813f8def9c84f49f1ff34
net: seeq: fix timer conversion

One of the timer conversion patches evidently escaped build testing
until I ran into in on ARM randconfig builds:

drivers/net/ethernet/seeq/ether3.c: In function 'ether3_ledoff':
drivers/net/ethernet/seeq/ether3.c:175:40: error: 'priv' undeclared (first use in this function); did you mean 'pid'?
drivers/net/ethernet/seeq/ether3.c:176:27: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]

This fixes the two small typos that caused the problems.

Fixes: 6fd9c53f7186 ("net: seeq: Convert timers to use timer_setup()")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/seeq/ether3.c
drivers/net/ethernet/seeq/ether3.h