OSDN Git Service

ieee802154: atusb: make two structures static, fixes warnings
authorColin Ian King <colin.king@canonical.com>
Tue, 26 Sep 2017 13:18:36 +0000 (14:18 +0100)
committerStefan Schmidt <stefan@osg.samsung.com>
Tue, 26 Sep 2017 13:22:45 +0000 (15:22 +0200)
commit06ff5dad46feee9ebc0b9f14f0ae3fe3d232392e
treefeda976ce996a430eb2103a50838e284453d1fde
parent763556980dde78166886734ae470664c67067dd4
ieee802154: atusb: make two structures static, fixes warnings

The arrays atusb_chip_data and hulusb_chip_data are local to the source
and do not need to be in global scope, so make them static. Also
remove unnecessary forward declaration of atusb_chip_data.

Cleans up sparse warnings:
symbol 'atusb_chip_data' was not declared. Should it be static?
symbol 'hulusb_chip_data' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
drivers/net/ieee802154/atusb.c