i2c: i801: Remove i801_driver forward declaration
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Fri, 13 Feb 2015 13:52:22 +0000 (15:52 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 9 Mar 2015 09:51:58 +0000 (10:51 +0100)
commit256493c58625530a958296724b92b344f3271b2f
tree7804f8a98e80c7724c56c85550a74e8a9413d194
parent9cbbf3dc994797f49cd30607a16182ca6c87863f
i2c: i801: Remove i801_driver forward declaration

struct pci_driver i801_driver forward declaration is needed only for
accessing the name field. Remove it and use dev_driver_string() instead.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-i801.c