gpio: remove __DATE__ and __TIME__ macro.
Kernel enables the '-Werror=date-time' for gcc 4.9. And these two macros causes the problem. Signed-off-by: Yunlian Jiang <yunlian@google.com> BUG=chromium:392001 TEST=the warning is gone. Change-Id: I56145bcf9228df8e93fc624e892f843716336101 Reviewed-on: https://chromium-review.googlesource.com/206949 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-by: Olof Johansson <olofj@chromium.org> Commit-Queue: Yunlian Jiang <yunlian@chromium.org> Tested-by: Yunlian Jiang <yunlian@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
68659cfd24
commit
6559b5ac16
@@ -257,8 +257,8 @@ static int nm10_gpio_probe(struct pci_dev *pdev,
|
||||
struct nm10_gpio *pgpio;
|
||||
|
||||
retval = pci_enable_device(pdev);
|
||||
printk(KERN_INFO "%s version %s built on %s at %s\n", gpio_driver_name,
|
||||
gpio_driver_version, __DATE__, __TIME__);
|
||||
printk(KERN_INFO "%s version %s.\n", gpio_driver_name,
|
||||
gpio_driver_version);
|
||||
|
||||
if (retval) {
|
||||
goto done;
|
||||
|
||||
Reference in New Issue
Block a user