summaryrefslogtreecommitdiffstats
path: root/drivers/zorro/zorro.h
Commit message (Collapse)AuthorAgeFilesLines
* zorro: stop creating attributes by handDmitry Torokhov2017-03-171-2/+1Star
| | | | | | | | | | | Instead of creating attributes one by one, define attribute_group array and attach it to bus->dev_groups, so that all needed attributes are created automatically when a new device is registered on the bus. Also switch to using standard DEVICE_ATTR_RO() macros. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* zorro: Refactor conditional handling of Zorro device name databaseGeert Uytterhoeven2013-11-261-0/+5
| | | | | | | Using an empty static inline function in the CONFIG_ZORRO_NAMES=n case allows to drop compilation of names.c. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
* m68k: zorro - Kill warn_unused_result warningsGeert Uytterhoeven2009-01-121-1/+1
| | | | | | | | | warning: ignoring return value of 'device_register', declared with attribute warn_unused_result warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
* Linux-2.6.12-rc2Linus Torvalds2005-04-171-0/+4
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!