aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/phison
AgeCommit message (Collapse)AuthorFilesLines
2014-07-24staging: phison: remove driverKristina Martšenko3-100/+0
The driver hasn't been cleaned up and it doesn't look like anyone is working on it anymore (including the original author). So remove the driver from the kernel. If someone wants to work on cleaning it up and moving it out of staging, this commit can be reverted. Signed-off-by: Kristina Martšenko <[email protected]> Cc: Evan Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2013-12-17staging: delete non-required instances of include <linux/init.h>Paul Gortmaker1-1/+0
None of these files are actually using any __init type directives and hence don't need to include <linux/init.h>. Most are just a left over from __devinit and __cpuinit removal, or simply due to code getting copied from one driver to the next. Signed-off-by: Paul Gortmaker <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2013-12-02staging: remove DEFINE_PCI_DEVICE_TABLE macroJingoo Han1-1/+1
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is not preferred. Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2012-07-11staging/phison: use module_pci_driver macroDevendra Naga1-12/+1
remove the duplication of module_pci_driver and use this macro instead module_pci_driver macro does the same things as the code below does static int __init pci_test_dev_init(void) { return pci_register_driver(&pci_test_driver_ops); } static void __exit pci_test_dev_exit(void) { pci_unregister_driver(&pci_test_driver_ops); } module_init(pci_test_dev_init); module_exit(pci_test_dev_exit); Signed-off-by: Devendra Naga <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-11-28staging/phison: Convert pci_table entries to PCI_DEVICE (if PCI_ANY_ID is used)Peter Huewe1-1/+1
This patch converts pci_table entries to use the PCI_DEVICE macro, if .subvendor and .subdevice are set to PCI_ANY_ID, and thus improves readablity. Signed-off-by: Peter Huewe <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-12-09Staging: phison: use DEFINE_PCI_DEVICE_TABLENamhyung Kim1-1/+1
Convert 'const struct pci_device_id xxx[]' to 'DEFINE_PCI_DEVICE_TABLE(xxx)'. Signed-off-by: Namhyung Kim <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-10-09Staging: phison: fix problem caused by libata changeGreg Kroah-Hartman1-1/+1
The libata core changed this function so it needed to call a different one. See https://bugzilla.kernel.org/show_bug.cgi?id=19872 for details. Reported-by: Heinz Wiesinger <[email protected]> Tested-by: Heinz Wiesinger <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-06-04Staging: phison: depends on ATA_BMDMARandy Dunlap1-1/+1
phison uses interfaces and data that are built only when ATA_BMDMA is enabled, so it should depend on that symbol. drivers/staging/phison/phison.c:43: error: implicit declaration of function 'ATA_BMDMA_SHT' drivers/staging/phison/phison.c:43: error: initializer element is not constant drivers/staging/phison/phison.c:43: error: (near initialization for 'phison_sht.module') drivers/staging/phison/phison.c:47: error: 'ata_bmdma_port_ops' undeclared here (not in a function) Signed-off-by: Randy Dunlap <[email protected]> Cc: [email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-05-11Staging: phison: fix incorrect tabs in phison.cJonas Lundqvist1-2/+2
This patch fixes two incorrect tab warnings found by the checkpatch.pl tool Signed-off-by: Jonas Lundqvist <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-04Staging: merge staging patches into Linus's main branchGreg Kroah-Hartman1-1/+1
There were a number of patches that went into Linus's tree already that conflicted with other changes in the staging branch. This merge resolves those merge conflicts. Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-03staging: make PCI device id constantNémeth Márton1-1/+1
The id_table field of the struct pci_driver is constant in <linux/pci.h> so it is worth to make the initialization data also constant. The semantic match that finds this kind of pattern is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r@ disable decl_init,const_decl_init; identifier I1, I2, x; @@ struct I1 { ... const struct I2 *x; ... }; @s@ identifier r.I1, y; identifier r.x, E; @@ struct I1 y = { .x = E, }; @c@ identifier r.I2; identifier s.E; @@ const struct I2 E[] = ... ; @depends on !c@ identifier r.I2; identifier s.E; @@ + const struct I2 E[] = ...; // </smpl> Signed-off-by: Németh Márton <[email protected]> Cc: Julia Lawall <[email protected]> Cc: [email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2010-03-01libata: Pass host flags into the pci helperAlan Cox1-1/+1
This allows parallel scan and the like to be set without having to stop using the existing full helper functions. This patch merely adds the argument and fixes up the callers. It doesn't undo the special cases already in the tree or add any new parallel callers. Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2009-12-11Staging: phison: adding __init/__exit macrosPeter Huewe1-2/+2
Trivial patch which adds the __init/__exit macros to the module_init/ module_exit functions of drivers/staging/phison/phison.c Signed-off-by: Peter Huewe <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2009-04-03Staging: phison: depends on PCIRandy Dunlap1-1/+1
phison uses PCI interfaces, so it should depend on PCI. Signed-off-by: Randy Dunlap <[email protected]> Cc: Evan Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2009-04-03Staging: phison: fix kconfig for clean buildRandy Dunlap1-1/+1
phison is an ATA driver, not a classic IDE driver, so fix the Kconfig file so that it will build. drivers/staging/phison/phison.c:43: error: implicit declaration of function 'ATA_BMDMA_SHT' drivers/staging/phison/phison.c:43: error: initializer element is not constant drivers/staging/phison/phison.c:43: error: (near initialization for 'phison_sht.module') drivers/staging/phison/phison.c:47: error: 'ata_bmdma_port_ops' undeclared here (not in a function) drivers/staging/phison/phison.c:65: error: implicit declaration of function 'ata_pci_sff_init_one' Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2009-04-03Staging: phison: add driver to the build systemGreg Kroah-Hartman2-0/+6
Cc: Evan Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2009-04-03Staging: phison: port code to work properly with latest libataGreg Kroah-Hartman1-58/+7
This brings the driver up to modern times so that it can build and run properly with the in-tree libata code. Cc: Evan Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2009-04-03Staging: phison: fix up checkpatch and other formatting issuesGreg Kroah-Hartman1-98/+28
Minor touchups to fix up the coding style issues in the phison driver. Cc: Evan Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2009-04-03Staging: add phison ATA driver to the treeEvan Ko1-0/+227
It doesn't build properly yet as it is against an older kernel version. That will be fixed up in patches following this. From: Evan Ko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>