From f678c17ffb4b8945ad5801c88c802d5830e4baf4 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 21 Sep 2012 11:01:49 +1000 Subject: [PATCH] sections-fix-section-conflicts-in-drivers-macintosh-checkpatch-fixes ERROR: space prohibited before open square bracket '[' #20: FILE: drivers/macintosh/macio_asic.c:751: +static const struct pci_device_id __devinitconst pci_ids [] = { { total: 1 errors, 0 warnings, 8 lines checked ./patches/sections-fix-section-conflicts-in-drivers-macintosh.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Andi Kleen Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton --- drivers/macintosh/macio_asic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/macintosh/macio_asic.c b/drivers/macintosh/macio_asic.c index 9e849a98ea5b..ef87310b7662 100644 --- a/drivers/macintosh/macio_asic.c +++ b/drivers/macintosh/macio_asic.c @@ -748,7 +748,7 @@ static void __devexit macio_pci_remove(struct pci_dev* pdev) * MacIO is matched against any Apple ID, it's probe() function * will then decide wether it applies or not */ -static const struct pci_device_id __devinitconst pci_ids [] = { { +static const struct pci_device_id __devinitconst pci_ids[] = { { .vendor = PCI_VENDOR_ID_APPLE, .device = PCI_ANY_ID, .subvendor = PCI_ANY_ID, -- 2.39.5