~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to drivers/base/core.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
400
400
static int device_add_attrs(struct device *dev)
401
401
{
402
402
        struct class *class = dev->class;
403
 
        struct device_type *type = dev->type;
 
403
        const struct device_type *type = dev->type;
404
404
        int error;
405
405
 
406
406
        if (class) {
440
440
static void device_remove_attrs(struct device *dev)
441
441
{
442
442
        struct class *class = dev->class;
443
 
        struct device_type *type = dev->type;
 
443
        const struct device_type *type = dev->type;
444
444
 
445
445
        device_remove_groups(dev, dev->groups);
446
446
 
1314
1314
EXPORT_SYMBOL_GPL(device_create_file);
1315
1315
EXPORT_SYMBOL_GPL(device_remove_file);
1316
1316
 
1317
 
struct root_device
1318
 
{
 
1317
struct root_device {
1319
1318
        struct device dev;
1320
1319
        struct module *owner;
1321
1320
};