diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-24 10:37:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-24 10:37:38 -0400 |
commit | 62a11ae3405b6da2535d28e5facc2de5af4a7e62 (patch) | |
tree | 6b68f0e74fe08c0e87488ec0653d59c653e46745 /drivers/input/misc/sparcspkr.c | |
parent | cedfb2db7b2d6b2c780999536aa1e2650fadee36 (diff) | |
parent | cf9b59e9d3e008591d1f54830f570982bb307a0d (diff) |
Merge branch 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6
* 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6:
of: change of_match_device to work with struct device
of: Remove duplicate fields from of_platform_driver
drivercore: Add of_match_table to the common device drivers
arch/microblaze: Move dma_mask from of_device into pdev_archdata
arch/powerpc: Move dma_mask from of_device into pdev_archdata
of: eliminate of_device->node and dev_archdata->{of,prom}_node
of: Always use 'struct device.of_node' to get device node pointer.
i2c/of: Allow device node to be passed via i2c_board_info
driver-core: Add device node pointer to struct device
of: protect contents of of_platform.h and of_device.h
of/flattree: Make unflatten_device_tree() safe to call from any arch
of/flattree: make of_fdt.h safe to unconditionally include.
Diffstat (limited to 'drivers/input/misc/sparcspkr.c')
-rw-r--r-- | drivers/input/misc/sparcspkr.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/drivers/input/misc/sparcspkr.c b/drivers/input/misc/sparcspkr.c index 0d45422f8095..1dacae4b43f0 100644 --- a/drivers/input/misc/sparcspkr.c +++ b/drivers/input/misc/sparcspkr.c | |||
@@ -259,8 +259,11 @@ static const struct of_device_id bbc_beep_match[] = { | |||
259 | }; | 259 | }; |
260 | 260 | ||
261 | static struct of_platform_driver bbc_beep_driver = { | 261 | static struct of_platform_driver bbc_beep_driver = { |
262 | .name = "bbcbeep", | 262 | .driver = { |
263 | .match_table = bbc_beep_match, | 263 | .name = "bbcbeep", |
264 | .owner = THIS_MODULE, | ||
265 | .of_match_table = bbc_beep_match, | ||
266 | }, | ||
264 | .probe = bbc_beep_probe, | 267 | .probe = bbc_beep_probe, |
265 | .remove = __devexit_p(bbc_remove), | 268 | .remove = __devexit_p(bbc_remove), |
266 | .shutdown = sparcspkr_shutdown, | 269 | .shutdown = sparcspkr_shutdown, |
@@ -338,8 +341,11 @@ static const struct of_device_id grover_beep_match[] = { | |||
338 | }; | 341 | }; |
339 | 342 | ||
340 | static struct of_platform_driver grover_beep_driver = { | 343 | static struct of_platform_driver grover_beep_driver = { |
341 | .name = "groverbeep", | 344 | .driver = { |
342 | .match_table = grover_beep_match, | 345 | .name = "groverbeep", |
346 | .owner = THIS_MODULE, | ||
347 | .of_match_table = grover_beep_match, | ||
348 | }, | ||
343 | .probe = grover_beep_probe, | 349 | .probe = grover_beep_probe, |
344 | .remove = __devexit_p(grover_remove), | 350 | .remove = __devexit_p(grover_remove), |
345 | .shutdown = sparcspkr_shutdown, | 351 | .shutdown = sparcspkr_shutdown, |