]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ide: palm_bk3710: add __initdata to palm_bk3710_port_info
authorBhumika Goyal <bhumirks@gmail.com>
Fri, 30 Dec 2016 09:20:02 +0000 (14:50 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Feb 2017 01:43:26 +0000 (20:43 -0500)
commit96297aee8bce237961b0e1b99e22913c5726af12
tree313ff4b3127550c1bb993c3d85c8fe4a7f2b188f
parentda095587e6be858efd41490762cb952dffd6107a
ide: palm_bk3710: add __initdata to palm_bk3710_port_info

The object palm_bk3710_port_info of type ide_port_info is never
referenced anywhere after initialization by palm_bk3710_probe. It is
also passed as a parameter to ide_host_add which is called from the init
function but this call doesn't store the object reference anywhere, and
it only dereferences the values of the fields. Therefore add __initdata
to its declaration.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/palm_bk3710.c