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

« back to all changes in this revision

Viewing changes to drivers/infiniband/core/uverbs_main.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:
824
824
        kfree(uverbs_dev);
825
825
}
826
826
 
 
827
static char *uverbs_devnode(struct device *dev, mode_t *mode)
 
828
{
 
829
        if (mode)
 
830
                *mode = 0666;
 
831
        return kasprintf(GFP_KERNEL, "infiniband/%s", dev_name(dev));
 
832
}
 
833
 
827
834
static int __init ib_uverbs_init(void)
828
835
{
829
836
        int ret;
842
849
                goto out_chrdev;
843
850
        }
844
851
 
 
852
        uverbs_class->devnode = uverbs_devnode;
 
853
 
845
854
        ret = class_create_file(uverbs_class, &class_attr_abi_version.attr);
846
855
        if (ret) {
847
856
                printk(KERN_ERR "user_verbs: couldn't create abi_version attribute\n");